Selection or query for arcGIS services

31 views
Skip to first unread message

Henrik Lundqvist

unread,
Feb 20, 2014, 6:43:20 PM2/20/14
to leaflet-ve...@googlegroups.com
Hi all
I wonder if there is a possibility to just show a selection based on a field value rather than show all the objects? There is possibilities to make queries from a service such as:


Can I use these instead of showing all the object which in my case or a bit too many.

cheers
Henrik

Rowan Winsemius

unread,
Feb 23, 2014, 9:35:06 PM2/23/14
to leaflet-ve...@googlegroups.com
Hi Henrik,

Rather than using the query url you can also build a query within the plugin.

If you look at the final example on this page you'll see a where clause has been included
    where: "EVENT LIKE 'WINTER%'",

This seems to be working quite well for me on large datasets.

Good luck,
Cheers
Rowan


This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.

Henrik Lundqvist

unread,
Feb 27, 2014, 2:04:06 PM2/27/14
to leaflet-ve...@googlegroups.com
Ah... super
I knew it was easy :-)
Thanks mate

cheers
H
Reply all
Reply to author
Forward
0 new messages