O'Reilly logo

Python Geospatial Development - Second Edition by Erik Westra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Designing ShapeEditor

Let's take a closer look at the various parts of the ShapeEditor, to see what's involved in implementing it. The ShapeEditor is going to support the following activities:

  • Importing the geometrical features and attributes from a shapefile
  • Allowing the user to select a feature to be edited
  • Displaying the appropriate type of editor to allow the user to edit the feature's geometry
  • Exporting the geometrical features and attributes back into a shapefile

Let's take a closer look at each of these user activities, to see how they will be implemented within the ShapeEditor system.

Importing a shapefile

When the user imports a shapefile, we have to store the contents of that shapefile in the database so that GeoDjango can work with it. Because ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required