On Wed, Jul 17, 2013 at 2:00 PM, Krystian <pruszynski.kryst...@gmail.com>wrote:
> thank you for quick replay.
>
> Yes, i know I can do it via WMS interface, but this solution would need
> some
> server-based coding for parsing XML response and so on... and my
> application
> is pure JavaScript and I've just implemented REST API and just wondering
> how
> to connect it to geoserver...
>
> so if getting raster as response is not possible, so maybe somehow I can
> request for geometry (coordinates) and get response in JSON format for ex.?
>
GeoServer does not implement the ESRI REST api, which unfortunately has
a incredibly poorly chosen name, as REST is a type of protocol.
It's like asking if GeoServer implements SOAP o HTTP api, but having in mind
a particular implementation of it.
The GeoServer REST Configuration API is meant for configuration only, and
has
been around longer than the ESRI one, but it does not do the same things,
it's the to allow the automation of config changes such as adding a layer,
changing a style and so on.
If you want GeoJSON you can get it via the WFS protocol, but we don't
support
the custom JSON format ESRI uses
That said, nothing prevents anyone from implementing the ESRI REST API
on top of GeoServer, or to build a json output format that's compatible with
the ESRI proprietary syntax, it's just a matter of putting the necessary
reosources
on the table. Nobody has done that so far afaik.
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
-------------------------------------------------------
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users