Opened 16 years ago
Closed 16 years ago
#1968 closed enhancement (fixed)
OGR GeoJSON Driver
Reported by: | Mateusz Łoskot | Owned by: | Mateusz Łoskot |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | driver geojson |
Cc: | Mateusz Łoskot |
Description
Today, on my website I announced usable prototype of new OGR driver to access datasources based on GeoJSON format.
Currently, the driver lives in SVN repository of MOSS4G project:
http://trac.osgeo.org/moss4g/browser/trunk/libs/gdal/extensions/ogr
I'd like to ask if there is an interest in this driver and if it would be possible to add it to the official OGR drivers set.
Attachments (1)
Change History (10)
comment:1 by , 16 years ago
Owner: | changed from | to
---|
by , 16 years ago
Attachment: | gdal-ogr-geojson-20071105.patch added |
---|
Patch with OGR GeoJSON changes to existing GDAL files (does not include ogr\ogrsf_frmts\geojson subdirectory)
comment:3 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
I'm passing this ticked to Hobu who offered his help in porting GeoJSON driver to the repo. Big thanks to Hobu!
comment:5 by , 16 years ago
Fixed JSON-C parser so it handles numbers in E notation (r12647)
Fixed problems with unsupported or not readable geometries reported by the GeoJSON reader as NULL pointers. So, we still generate features object but with NULL geometries and avoid segfaults (r12468). Now, the driver can successfully access sample GeoServer datasource using following URL:
http://sigma.openplans.org:8080/geoserver/wfs?request=GetFeature&typeName=topp:states&version=1.0.0&outputformat=json
comment:7 by , 16 years ago
I added some basic test cases to the ogr_geojson.py script and a bunch of .geojson files (r12690).
comment:8 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:9 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'm closing this ticket and I believe we can consider the GeoJSON driver as successfully incorporated to the GDAL upstream.
Mateusz,
Go ahead and add it, with all appropriate changes. Please make sure at least a small test script is added in gdal autotest, and some modest documentation in the OGR driver style is available.