|
From: Michael B. <mic...@gm...> - 2011-07-29 04:02:43
|
On 29 July 2011 00:47, Justin Deoliveira <jde...@op...> wrote:
> A related note that geoscript (which ships with all the necessary jars)
> makes this a one liner. Ok two lines with imports.
>>>> from geoscript.geom import readWKT, writeJSON
>>>> writeJSON(readWKT('POINT ( 8136668.86140000 3590334.97430000)'))
> u'{"type":"Point","coordinates":[8136668.8614,3590334.9743]}'
Nice !
Michael
|