Making Web Maps

Using WFS with MANY features in ArcGIS

If you're using a WFS in ArcMap,  it downloads and indexes ALL the data from the service. If you're connecting to a service that has ALOT of data (>?150,000 features), my experience is that you don't actually get all the data. One solution is to put a bounding box filter on the WFS connection to restrict the data request to the area you're actually interested in. 

To do this, when you set up the WFS connection properties, and are in the 'Parameters' dialog (which you'll need to do to select the feature type from the service), put an XML bounding box filter expression in the 'XML Filter Expression'

here's a bounding box filter that works (WFS 1.0.0):

    <ogc:Filter xmlns="http://www.opengis.net/ogc">

      <ogc:BBOX>

        <ogc:PropertyName>shape</ogc:PropertyName>

       <gml:Box srsName="EPSG:4326">

          <gml:coord>

            <gml:X>-109</gml:X>

            <gml:Y>37.00</gml:Y>

Using and Customizing Leaflet

Leaflet is a simple javascript framework for building web-mapping applications. In thier words:

Leaflet is a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps. It is developed by CloudMade to form the core of its next generation JavaScript API. Weighing just about 21kb of gzipped JS code, it still has all the features you will ever need for your web mapping needs, while providing a fast, smooth, pleasant user experience.

It is built from the ground up to work efficiently and smoothly on both desktop and mobile platforms like iOS and Android, utilizing cutting-edge technologies included in HTML5 and CSS3. The focus is on usability, performance, small size, A-grade browser support, flexibility and an easy-to-use API. The OOP-based code of the library is designed to be modular, extensible and very easy to understand.

When you're choosing a javascript framework to build your web-mapping application, you have a myriad of options. Why choose Leaflet? Well this is why I liked it:

Syndicate content