How to use esriGeometryPolygon and esriGeometryPolyline

679 views
Skip to first unread message

matthias...@gmail.com

unread,
Mar 19, 2015, 4:19:37 PM3/19/15
to geoadm...@googlegroups.com
Hi there,
https://api3.geo.admin.ch/services/sdiservices.html#identify-features mentions the possibility to give a esriGeometryPolygon or esriGeometryPolyline as geometryType.
How do I specify the geometry?
Thanks for you help,
Matthias

Loïc Gasser

unread,
Mar 20, 2015, 3:12:35 AM3/20/15
to geoadm...@googlegroups.com

Hi!

Here is an example using a polygon:

https://api3.geo.admin.ch/rest/services/api/MapServer/identify?geometry={%22rings%22%20:%20[[%20[675000,245000],%20[670000,255000],%20[680000,260000],%20[690000,255000],%20[685000,240000],%20[675000,245000]]]}&geometryType=esriGeometryPolygon&imageDisplay=500,600,96&mapExtent=548945.5,147956,549402,148103.5&tolerance=5&layers=all:ch.bafu.bundesinventare-bln

Here is some doc regarding geometry definition:

http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/geometry.html

I'll update the doc as I feel it missing and could be useful.

Hope this answer your question.

Best Regards,
Loïc Gasser

> --
> You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages