[Geoserver-users] wps output geojson with projection other than 4326

I tried several wps processes that return a geojson. The geometry is in the same projection than the input data (could be other than 4326), but the information on projection is not in the geojson so the client application doesn’t know it.

Here is what I read about it
http://geojson.org/geojson-spec.html#named-crs

Should this information be added in the geojson by the process when epsg is not the default?

thanks
steve

On Fri, Oct 11, 2013 at 5:18 PM, <Steve.Toutant@anonymised.com> wrote:

I tried several wps processes that return a geojson. The geometry is in
the same projection than the input data (could be other than 4326), but the
information on projection is not in the geojson so the client application
doesn't know it.

Here is what I read about it
http://geojson.org/geojson-spec.html#named-crs

Should this information be added in the geojson by the process when epsg
is not the default?

Yes, that would be a nice addition. Are you interested in working on it?
If memory serves me right the json encoder we use in the geojson module
back in GeoTools,
I can give you further details

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------