[Geoserver-users] Import Shapefile tutorial

Hi all,

I have just installed geoserver and follow the import shapefile tutorial:
http://geoserver.org/display/GEOSDOC/User+Tutorial+Shapefile

Quite straightforward, nice to follow and everything was working fine until
the end: I am unable to find my data (so a shapefile) in demo -> mqp
preview. All defaut dataset are listed but not mine :frowning:

Don't see what I made wrong because I have follow strictly the tutorial and
all what I got was making sense. And I don't know is missing and how to
check...in brief I am lost

Any clue?
thanks
--
View this message in context: http://www.nabble.com/Import-Shapefile-tutorial-tp22857223p22857223.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Did you "Apply" and "Save" at the end of the new data layer creation ?
The two buttons are on the upper-left corner of the Config Area of the Geoserver Web Interface.

Marco Foi

At 23:16 02/04/2009, darrepac wrote:

Hi all,

I have just installed geoserver and follow the import shapefile tutorial:
http://geoserver.org/display/GEOSDOC/User+Tutorial+Shapefile

Quite straightforward, nice to follow and everything was working fine until
the end: I am unable to find my data (so a shapefile) in demo -> mqp
preview. All defaut dataset are listed but not mine :frowning:

Don't see what I made wrong because I have follow strictly the tutorial and
all what I got was making sense. And I don't know is missing and how to
check...in brief I am lost

Any clue?
thanks
--
View this message in context: http://www.nabble.com/Import-Shapefile-tutorial-tp22857223p22857223.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Yes I did it and I can see my data in the datastore...

Marco Foi wrote:

Did you "Apply" and "Save" at the end of the new data layer creation ?
The two buttons are on the upper-left corner of the Config Area of
the Geoserver Web Interface.

Marco Foi

At 23:16 02/04/2009, darrepac wrote:

Hi all,

I have just installed geoserver and follow the import shapefile tutorial:
http://geoserver.org/display/GEOSDOC/User+Tutorial+Shapefile

Quite straightforward, nice to follow and everything was working fine

until

the end: I am unable to find my data (so a shapefile) in demo -> mqp
preview. All defaut dataset are listed but not mine :frowning:

Don't see what I made wrong because I have follow strictly the tutorial

and

all what I got was making sense. And I don't know is missing and how to
check...in brief I am lost

Any clue?
thanks
--
View this message in context:
http://www.nabble.com/Import-Shapefile-tutorial-tp22857223p22857223.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Import-Shapefile-tutorial-tp22857223p22863154.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

darrepac ha scritto:

Hi all,

I have just installed geoserver and follow the import shapefile tutorial:
http://geoserver.org/display/GEOSDOC/User+Tutorial+Shapefile

Quite straightforward, nice to follow and everything was working fine until
the end: I am unable to find my data (so a shapefile) in demo -> mqp
preview. All defaut dataset are listed but not mine :frowning:

Don't see what I made wrong because I have follow strictly the tutorial and
all what I got was making sense. And I don't know is missing and how to
check...in brief I am lost

Besides the apply/save thing, did you choose a style which is compatible
with your data? For example, if your SLD contains only points and you chose a polygon style nothing will be drawn.

Another option is that yours is a "sparse" shapefile, in which ESRI
tools have poked holes, areas in which there is no data.
GeoServer 1.7.3 cannot read them, we're working on a fix right now.
Actually, if you pick a April 3 build from here:
http://gridlock.openplans.org/geoserver/1.7.x/
(still not available at the time of writing) you'll get one that
should be able to read that kind of shapefiles too.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Andrea Aime-4 wrote:

Besides the apply/save thing, did you choose a style which is compatible
with your data? For example, if your SLD contains only points and you
chose a polygon style nothing will be drawn.

I think I did it correct but here I would prefer to check. Can you tell me
how to check this?

Andrea Aime-4 wrote:

Another option is that yours is a "sparse" shapefile, in which ESRI
tools have poked holes, areas in which there is no data.
GeoServer 1.7.3 cannot read them, we're working on a fix right now.
Actually, if you pick a April 3 build from here:
http://gridlock.openplans.org/geoserver/1.7.x/
(still not available at the time of writing) you'll get one that
should be able to read that kind of shapefiles too.

I have used mostly gdaltindex to generate the shp and GlobalMapper to add an
attribute to it.

--
View this message in context: http://www.nabble.com/Import-Shapefile-tutorial-tp22857223p22863329.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

darrepac ha scritto:

Andrea Aime-4 wrote:

Besides the apply/save thing, did you choose a style which is compatible
with your data? For example, if your SLD contains only points and you chose a polygon style nothing will be drawn.

I think I did it correct but here I would prefer to check. Can you tell me
how to check this?

Well... look at your data attributes, bottom of the page, if it says
"multipolygon" use the "polygon" style and so on for the other
geometry types.

Andrea Aime-4 wrote:

Another option is that yours is a "sparse" shapefile, in which ESRI
tools have poked holes, areas in which there is no data.
GeoServer 1.7.3 cannot read them, we're working on a fix right now.
Actually, if you pick a April 3 build from here:
http://gridlock.openplans.org/geoserver/1.7.x/
(still not available at the time of writing) you'll get one that
should be able to read that kind of shapefiles too.

I have used mostly gdaltindex to generate the shp and GlobalMapper to add an
attribute to it.

Oh, strange. Well, if nothing works send me the file, zipped, by private
mail and I'll have a quick look.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Thanks to Andrea I found the problem...nothing was present in my feature
types so by recreating it again it has worked

thanks to all
--
View this message in context: http://www.nabble.com/Import-Shapefile-tutorial-tp22857223p22868424.html
Sent from the GeoServer - User mailing list archive at Nabble.com.