[postgis-devel] AsGML & AsGeoJson patches

Courtin Olivier olivier.courtin at camptocamp.com
Wed Nov 5 00:40:51 PST 2008


Hi,

I've made a patch related to export function, inside it:

- AsGML
  - Curve geometry nice error message
  - GeometryCollection handle
  - Code factorization between GML 2.1.2 and 3.1.1
  - version parameter no more a a global one
  - use decimal places rather than significants digits
    (with doc update)
  - trim trailing zero
  - unit test file

AsGeoJson
  - add forgotten pfree on subgeometry size process
  - trim trailing zero
- return geometry type name on error (i.e for curve)

Gml3 output was widely test, Gml2 a bit less

Patchs provided for 1.3 branches and trunk.

Enjoy !


FYI, Still on my Todo for theses export functions:
- SVG Unit Test
- KML decimal places
- Trunk doc improve
- RFC 5165 compliant (GML, GeoJson, KML also ?)
- GML3 Curve handle (low priority)

@++

--
Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PATCH_1.3r3250
Type: application/octet-stream
Size: 196438 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20081105/724cd33a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PATCH_TRUNKr3251
Type: application/octet-stream
Size: 197450 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20081105/724cd33a/attachment-0001.obj>


More information about the postgis-devel mailing list