GetFile
Previous  Top  Next

GetFile is a function that allows you to transfer a GIS file generated as part of the RouteList function for instance.

GetFile is a method of the RW_NETBASE service.

It takes 2 parameters as input:

·GIS format (0, 1, 2 or 3).  
·Filename without extension. This is as returned from the function that generated the file.  

Output is a variant array, with as many items as there are parts in the file format. The various parts come in this order:

·MIF: mif, mid  
·SHP: shp, shx, dbf  
·TAB: tab, map, id, dat  
·GML: xml, xsd  

The sample code for all langauges include the GetFile functionality and it shows how to store the 2, 3 or 4 parts, a GIS file consists of, to disk.