Can you load the shp file into QGIS for example?
Russ
-----------------------
> On 8 Apr 2014, at 19:38, "Bistrais, Bob" <bob.bistr...@maine.gov> wrote:
>
> I cannot preview it in Layer Preview- neither with OpenLayers nor any other
> client.
> I know for a fact that the input shapefile is line, not poly, unless
> something or somebody built polys out of it (highly unlikely). For the
> record, the Edit Layers shows feature type as MultiPolygon.
>
>
> From: Jerome A. Wendell [mailto:jawend...@suddenlink.net]
> Sent: Tuesday, April 08, 2014 2:32 PM
> To: Bistrais, Bob; geoserver-users@lists.sourceforge.net
> Subject: RE: [Geoserver-users] Line shapefile publishes as polygon
>
> Bob,
>
> Can you preview the layer in “Layer Preview”? Are you sure the shapefile
> contains line features and not polygons?
>
> Jerome Wendell
>
>
> From: Bistrais, Bob [mailto:bob.bistr...@maine.gov]
> Sent: Tuesday, April 08, 2014 2:18 PM
> To: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net
> Subject: RE: [Geoserver-users] Line shapefile publishes as polygon
>
> I selected EPSG:4326 for projection, and went with default styling during
> publishing.
>
> From: Jerome A. Wendell [mailto:jawend...@suddenlink.net]
> Sent: Tuesday, April 08, 2014 2:06 PM
> To: Bistrais, Bob; geoserver-users@lists.sourceforge.net
> Subject: RE: [Geoserver-users] Line shapefile publishes as polygon
>
> Bob,
>
> Do you define the projection and the styling for the layer in the web
> administration interface when you published the layer?
>
> Jerome Wendell
>
>
> From: Bistrais, Bob [mailto:bob.bistr...@maine.gov]
> Sent: Tuesday, April 08, 2014 12:29 PM
> To: geoserver-users@lists.sourceforge.net
> Subject: [Geoserver-users] Line shapefile publishes as polygon
>
> I have a shapefile that is line features which I am trying to publish in
> GeoServer (2.4). When I publish it, two strange things occur-
> I get the message that it cannot determine the projection, even though there
> is a .prj file for it. That’s no problem since I can select that manually.
>
> The real problem is that GeoServer publishes the shapefile as polygon
> features. In addition, I cannot see it on screen or style it, but it is
> still listed as a valid layer.
>
> How do I correct this?
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users