[OpenLayers-Users] Just a simple php script instead of WFS server ?

Christopher Schmidt crschmidt at metacarta.com
Mon Mar 30 18:21:53 EDT 2009


On Mon, Mar 30, 2009 at 02:07:59PM -0700, 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?

This sounds a lot like FeatureServer, though that's Python, rather than
PHP. I'm not aware of something like FeatureServer for PHP.

> thanks
> -- 
> View this message in context: http://n2.nabble.com/Just-a-simple-php-script-instead-of-WFS-server---tp2559646p2559646.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list