On Thu, Jan 17, 2013 at 8:11 PM, Luciano Borges <
[email protected]> wrote:
> Hi all,
>
> I'm developing an application (REST service) that, briefly speaking, takes
> a route from google maps and saves this route in Postgis using
> hibernatespatial (LineString geometry).
>
> Now I want to get the polygon from database and display on the map. How to
> transform this polygon on a GeoJSON to pass to web page via REST Service?
>
Hum... we have a GeoJSON encoder in a unsupported module (which works
really, I believe
it's in unsupported land just due to lack of time on the developer part),
that can encode in GeoJSON a Feature collection. Don't remember if it has a
way of encoding
just a Geometry
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
-------------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users