[Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Bistrais, Bob
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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Jerome A. Wendell
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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Bistrais, Bob
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.netmailto: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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Jerome A. Wendell
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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Bistrais, Bob
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.netmailto:jawend...@suddenlink.net; 
geoserver-users@lists.sourceforge.netmailto: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.netmailto: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.netmailto: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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Russ Hore
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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Jerome A. Wendell
If the feature type is MultiPolygon, then it doesn’t seem like the shapefile 
contains just lines.

 

Jerome

 

 

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 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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Bistrais, Bob
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.govmailto: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.netmailto: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.netmailto:jawend...@suddenlink.net; 
geoserver-users@lists.sourceforge.netmailto: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.netmailto: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.netmailto: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.netmailto: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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Andrea Aime
On Tue, Apr 8, 2014 at 8:52 PM, Bistrais, Bob bob.bistr...@maine.govwrote:

  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.


GeoServer reads the shape type from the shapefile header, I never heard of
cases in which the type was misread (but there might be a first for
everything, of course).
If you want to show it as lines just go to into the publish tab and
select the line style instead of the polygon one.

If you can share the shapefile in question, maybe someone can have a second
look at it

Cheers
Andrea

-- 
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Bistrais, Bob
I did try to change the style to line, but still can't see it.

I can share the original shapefile now, but it would make more sense to examine 
the one on the server.  I'll ask that server's administrator to send it to me 
and will forward it.

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Tuesday, April 08, 2014 3:02 PM
To: Bistrais, Bob
Cc: Russ Hore; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Line shapefile publishes as polygon

On Tue, Apr 8, 2014 at 8:52 PM, Bistrais, Bob 
bob.bistr...@maine.govmailto:bob.bistr...@maine.gov wrote:
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.

GeoServer reads the shape type from the shapefile header, I never heard of 
cases in which the type was misread (but there might be a first for everything, 
of course).
If you want to show it as lines just go to into the publish tab and select 
the line style instead of the polygon one.

If you can share the shapefile in question, maybe someone can have a second 
look at it

Cheers
Andrea

--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
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


Re: [Geoserver-users] Line shapefile publishes as polygon

2014-04-08 Thread Bistrais, Bob
I looked at the shapefile- it is corrupted.  It has no features, and the schema 
from a polygon shapefile.

I don't know how it was corrupted, but I will have it replaced tomorrow 
morning, and I expect it should work.  Will report back tomorrow.

From: Bistrais, Bob [mailto:bob.bistr...@maine.gov]
Sent: Tuesday, April 08, 2014 3:07 PM
To: Andrea Aime
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Line shapefile publishes as polygon

I did try to change the style to line, but still can't see it.

I can share the original shapefile now, but it would make more sense to examine 
the one on the server.  I'll ask that server's administrator to send it to me 
and will forward it.

From: andrea.a...@gmail.commailto:andrea.a...@gmail.com 
[mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime
Sent: Tuesday, April 08, 2014 3:02 PM
To: Bistrais, Bob
Cc: Russ Hore; 
geoserver-users@lists.sourceforge.netmailto:geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Line shapefile publishes as polygon

On Tue, Apr 8, 2014 at 8:52 PM, Bistrais, Bob 
bob.bistr...@maine.govmailto:bob.bistr...@maine.gov wrote:
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.

GeoServer reads the shape type from the shapefile header, I never heard of 
cases in which the type was misread (but there might be a first for everything, 
of course).
If you want to show it as lines just go to into the publish tab and select 
the line style instead of the polygon one.

If you can share the shapefile in question, maybe someone can have a second 
look at it

Cheers
Andrea

--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
--
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