[Featureserver] Beginning help

Christopher Schmidt crschmidt at metacarta.com
Sun Jul 8 11:46:34 EDT 2007


On Mon, Jul 02, 2007 at 01:00:37PM -0500, Ed Fialkowski wrote:
> Hello, I've just started using FeatureServer and I'm really looking forward
> to all I can do with it.
> 
> Unfortunately, I'm not really sure how to set up data to be read...
> My first project will be displaying some polygons on an openLayers map.
> When the polygons are clicked, certain information will be displayed.
> 
> Where does this information go?
> I have shape files, DBF files, and xml files with data, but I'm competely
> lost how to even start to serve this.
> 
> I haven't seen any tutorials, only a couple demos for OpenLayers coding.
> Does anyone have any advice how I can start using FeatureServer?

First thing to do is to get your datasource set up. FeatureServer can
read data from shapefiles, using the OGR python bindings. Setting this
up is documented in doc/DataSources.txt, and once you have a datasource
set up, you should be able to view it as WFS via something like: 

http://example.org/featureserver.cgi/layername?format=WFS&maxfeatures=10

Once you do that, you can make the next steps of making a map with it.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list