Can GeoServer return shapefiles
Can GeoServer return shapefiles?
Yes it can. In the WFS URL you need to set the OUTPUTFORMAT parameter to SHAPE.
Here is an example:
http://localhost:8080/geoserver/wfs? request=getfeature& service=wfs& version=1.0.0& typename=states& outputformat=SHAPE
Comments ( Hide )
Anonymous says:May 02, 2006 13:43 ( Permalink ) |
Anonymous says:If I check GetCapabilities I find no outputformat SHAPE. I do see an outputformat SHAPE-ZIP. If I select this one i receive an empty file. |
|
|
khudak says:I got this when I tried to return a shapefile on Geoserver 1.3.0: <ServiceException> |
But Where do the shapfile go after the submit?
I get
java.io.FileNotFoundException: C:\Program Files\Tomcat5states.shp
Some other settings somewhere?