NWcreate
Previous  Top  Next

Networks can be generated from 4 standard GIS formats: TAB, MIF, SHP and CGF.

Generally NWcreate accepts all records where the object type is a polyline with 1 section. All other record types are ignored, but doesn't produce an error:

·Polyline objects with >1 section are ignored (all 4 formats)  
·Records marked for deletion are ignored (TAB and CGF format)  
·Records without objects are ignored (all 4 formats)  
·Records with other objects than polylines are ignored (TAB, MIF and CGF format)  

Even though both deleted records and other kind of objects are supported, you should try to avoid them as the network files get unnecessarily big and count towards to the limit.

If you have records marked for deletion in your GIS file, you should be careful when generating data for AttributeCreate. Here you should make sure, that a record for the deleted records are created as well. Best suggestion is to pack the table first.

You can only create a network from 1 GIS file. If you have several GIS files (e.g. one for each county) and you want to create a network for the whole area, you will have to create one large GIS file first.

When generating the network, a text file called "network_report.txt" is created on disk which contains information about the process and if any problems were encountered. See property ExtendedDataCheck for check of additional problems.

The list of generated files can be seen here.

Use OnNWcreateProgress event for tracking progress.

See also AttributeCreate2, NWcreateTAB, NWcreateMIF, NWcreateSHP, NWcreateCGF, SpatialIndexLinksPerCell and ZLevelFile.