[OpenLayers-Users] loading heavy WFS. solutions?

David Fawcett david.fawcett at gmail.com
Wed Sep 17 22:26:38 EDT 2008


Have you thought about creating several versions of your polygon data?
 Essentially, the vector pyramids that you were talking about.    Keep
your very detailed layer and then create several, increasingly more
generalized layers.

Set up a WFS or WMS using MapServer.  For the MapServer layer that you
are serving, create a class for each of the data sets and then make
them scale-dependent using MAXSCALEDENOM and MINSCALEDENOM so that
each data set shows up at the appropriate scale and only one data
source shows up at a time.

David.

On Wed, Sep 17, 2008 at 3:43 PM, G. Allegri <giohappy at gmail.com> wrote:
> I'm using Mapserver (and Geoserver). The mixed solution (WMS/WFS) is
> not good to me: I need to permit the userto interact with datas (hover
> selection, i.e.) at all the zoom levels...
>
> 2008/9/17 Robert Sanson <SansonR at asurequality.com>:
>> Wouldn't it be better to have a couple of layers defined in OL and have the
>> data serverd from something like Featureserver, Geoserver or Mapserver. For
>> zoomed out, request it as a WMS. When zoomed in, request it as WFS or GML?
>>
>> Robert
>>
>>>>> "G. Allegri" <giohappy at gmail.com> 18/09/2008 8:32 a.m. >>>
>> Hi list,
>> I need to load a heavy GML (the original shapefile is >12 MB), and I
>> can't make any simplification, beacuse it's composed by little,
>> needed, polygons.
>> Has ever been experimented something to do a sort of "pyramids" with
>> vectorial features? The only solution I can imagine is to produce
>> various simplifications, and then call different GMLs on the base of
>> the zoom factor... Well, it isn't a solution, it would be just a
>> horrible workaround!
>>
>> Any idea to share?
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------
>> The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
>> ------------------------------------------------------------------
>>
>> This message has been scanned for malware by SurfControl plc.
>> www.surfcontrol.com
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list