PDA

View Full Version : Ruby script and GIS export



Sunil
May 16, 2017, 06:54 AM
Hi,

I was wondering is there ICM ruby function or command available which is equivalent to Network\Export\to MIF or any other GIS format. I would like to export all tables in network to GIS format (ArcGIS or MapInfo) using ruby script. Though, Open Data Export Centre is available, but it supports export one table at a time.

Can somebody help.

Regards,

Sunil

Alistair Dalton
May 17, 2017, 02:26 AM
Hi Sunil,

Would right clicking on the model network in the explorer window and choosing Export> To MIF, TAB, or SHP not give you what you are after? Doing this lets you choose which (or all) of the tables associated with the model you want to export:
402
Regards

Ali

Duncan Kitts
May 19, 2017, 02:54 AM
You should be able to do this using Ruby with the ‘GIS_export’ method. This will allow you to export the network (or part of) to a GIS format without using the ODEC.