PTV Visum - Frequently Asked Questions (FAQs)

  • Please make sure the page has finished loading before you browse the FAQ list.

(#VIS18606)

How can I import a Shapefile into a POI category?

Shapefiles are imported using the method IVisum.ImportShapefile, which needs an IImportShapeFilePara object, offering an own method AttValue. Use this to set the attribute 'POIKey', corresponding to the 'POI category' in the dialog 'Read shapefile', with the POI category's number.

POI categories can be edited using the class INet.IPOICategory and its method AttValue. To add one, use the method INet.AddPOICategory.

Example:
http://vision-traffic.ptvgroup.com/faq-files/PTV_ImportShape2POIcat.ZIP