I can load the original shapefile in QGIS and Arc, and it is a line dataset.

On the GeoServer installation, I have limited access to the server, and had the 
Administrator upload that shapefile for me.  I had previously published it as a 
line layer, only in the past couple days did we find it was trying to publish 
as polygon.  I am using this shapefile and GeoServer installation to train 
others on using GeoServer, so the others have been trying to publish their own 
layers in their own workspaces.  Some were able to publish it correctly as 
lines, only in the past few days did we find it thinking it was poly.

From: Russ Hore [mailto:r...@russ-hore.co.uk]
Sent: Tuesday, April 08, 2014 2:44 PM
To: Bistrais, Bob
Cc: jawend...@suddenlink.net; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Line shapefile publishes as polygon

Can you load the shp file into QGIS for example?

Russ

-----------------------


On 8 Apr 2014, at 19:38, "Bistrais, Bob" 
<bob.bistr...@maine.gov<mailto: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<mailto: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<mailto:jawend...@suddenlink.net>; 
geoserver-users@lists.sourceforge.net<mailto: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<mailto: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<mailto: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<mailto: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

Reply via email to