On Wed, Jul 17, 2013 at 2:00 PM, Krystian <pruszynski.krystian@anonymised.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
--
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
-------------------------------------------------------