Skip to content

GNIP 17 Data Conversion on Upload Import

Jeffrey Johnson edited this page Jun 21, 2013 · 3 revisions

GNIP 17 - Data Conversion on Upload/Import

Overview

It is proposed to add improved Upload/Import functionality to GeoNode that allows for various kinds of GeoData to be uploaded to a GeoNode site (beyond the current support for shapefiles and geotiffs). Depending on how the GeoNode is configured, data should be converted to either shapefile or loaded into a PostGIS database as part of the import process. It is to be determined whether using something like ogr2ogr or similar is the best course of action to perform these transformations, but that is one possible direction.

Initial work on this type of functionality has been done by the folks at Dialog as part of the ANZSM project (private repo, please request access).

https://github.com/dialog-it/anzsm/tree/master/publication

also some work in MapStory on conversions involving date/time fields.

Proposed By

Jeffrey Johnson

Assigned to Release

2.0

State

Complete in Master (using geoserver suite importer backend)

Motivation

Currently GeoNode only allows for Shapefiles and GeoTiffs to be uploaded to a site. Many users have expressed interest in being able to upload various other types of geospatial data to a GeoNode site, including CSV, KML, MapInfo, ESRI File GeoDatabases and many more. Additionally, it has been requested that GeoNode support upload of files with timestamps or simple dates embedded in the fields of the data, and to have those fields converted and made to work with GeoServers support for layers with time dimensions.

Proposal

It is proposed to develop new functionality in GeoNode to do conversion of these data formats at the time of upload and to store them in either the PostGIS database or on the filesystem as shapefiles for use in a GeoNode site.

Issues

File against main Issue Tracker

Testing

This functionality will require extensive and thorough integration tests to verify that it works correctly and handles for errors or invalid data appropriately.

Thanks to @ischneider for the tests here https://github.com/GeoNode/geonode/tree/master/geonode/upload/tests

Alternatives

Do nothing. GeoNode currently supports the most common types of GeoSpatial data (Shapefiles and GeoTiffs)

Feedback

Discussion of this proposal on geonode-dev is here.

https://groups.google.com/a/opengeo.org/group/geonode-dev/browse_thread/thread/9ce0b26b0f9d1dcc

Voting

+1 Jeffrey Johnson

Clone this wiki locally