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

Chapter 10. ShapeEditor – Implementing List View, Import, and Export

In this chapter we continue our implementation of the ShapeEditor application. We will start by implementing a "list" view to show the available shapefiles, and then work through the details of importing and exporting shapefiles via a web interface.

In this chapter, we will learn the following:

  • Displaying a list of records using a Django template
  • Dealing with the complexities of shapefile data, including issues with geometries and attribute data types
  • Importing a shapefile's data using a web interface
  • Exporting a shapefile using a web interface

Let's start by implementing the view the user will see when they start running the ShapeEditor.

Implementing the "list shapefiles" view

When ...

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