[OpenLayers-Users] Just a simple php script instead of WFS
server ?
David Fawcett
david.fawcett at gmail.com
Tue Mar 31 14:08:03 EDT 2009
Probably a heavier solution than necessary, but I am using MapServer
to generate GeoJson. This makes it easy to switch layer data source
formats and allows the flexibility of switching output formats easily
too (GeoJson, GML, WMS, etc.)
David.
On Tue, Mar 31, 2009 at 10:07 AM, Arnie Shore <ashore3 at verizon.net> wrote:
> Absent an available and illustrative PHP script, maybe some
> definition/specification of the OL-to-server interface would provide the
> basis for one of us to write it. Has to exist somewhere, but where?
>
> Maybe better posed to the dev list?
>
> AS
>
> darrepac wrote:
>> Hi,
>>
>> I have an openlayers loading a GeoJson file locally (=on client side).
>> This file is heavy and I want to avoid to load it locally.
>>
>> The perfect solution would probably be a WFS server to serve my features but I would prefer a lighter and easier solution (I am lost in tool like Geoserver and just get the feeling that it is too big for me and my usage).
>>
>> Is there not a way to build a small php script to serve my features from the GeoJson or GML and read in Openlayers through OpenLayers.Protocol.HTTP ?
>> Such php script, on server side, should implement the maxfeatures and/or bbox query in order to load just the needed features.
>>
>> Does such php script (or very very very simple WFS server) exist?
>>
>> thanks
>>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list