The following diagram illustrates the process that transforms geographical data into NOV Diagram shapes:
- The process begins with specifying the source of the geographical data (e.g. an ESRI shapefile) by using the AddShapefile method of the map importer. You can add one or more shapefiles to the map and configure them individually. Shapefiles can be a file on the disk, a stream or a resource embedded in your application. For more information check out the ESRI Shapefiles topic.
- The geographical data is then read by the map importer and the import of the shapes is ready to begin.
- First, a map projection transforms the 3D geographical coordinates to 2D coordinates by projecting the 3D geographical data to the plane.
- After the coordinates of all points are calculated by the projection, NOV diagram shapes are created.
- A fill rule can be applied to the created shapes in order to color them, for example to create a political or a choropleth map.
- A shape created listener can be attached to the map importer in case you want to customize the imported shapes even further (e.g. to set tooltips to them).