[Geoserver-users] features not showing?

I'm new to GeoServer, and I'm having a problem getting some featureTypes to
display in GeoServer.

I have 2 sets of data, one for Manhattan and the other for San Diego county
- the locations are unimportant except for being far apart; I have separate
sets of tables for each area so I can specify different bounding boxes for
the different featureTypes.

The featureTypes for the first area I load show up on the map preview demo
screens using my SLDs without a problem. Most of the featureTypes for the
second area will not show up. I can click on the empty box where the map
should be and the raw data for the feature(s) I click on shows in the space
below the map. I can get the 2nd set of features to show if I use a very
simple style, like a single width and color for lines with no filtering
rules.

The featureTypes for either area will show if they are the 1st created. If I
move the 1sts created out of the way and restart GeoServer, the 2nds will
still not show. If I delete and recreate them, whichever is created 1st
show.

I am using GeoServer 1.6.0 against a PostgreSQL 8.3 db with PostGIS. I am
hoping this is just something obvious and fundamental to the way GeoServer
works, but please let me know if more info would help to diagnose this
problem.

--
View this message in context: http://www.nabble.com/features-not-showing--tp15808698p15808698.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

It sounds like there is somethign in the SLD that is a miss. Would you be able to include the output of the table structure, ie: the output of:

'\d <table_name>'

Also, if you could include the SLD that would be helpful as well.

-Justin

geoman wrote:

I'm new to GeoServer, and I'm having a problem getting some featureTypes to
display in GeoServer.

I have 2 sets of data, one for Manhattan and the other for San Diego county
- the locations are unimportant except for being far apart; I have separate
sets of tables for each area so I can specify different bounding boxes for
the different featureTypes.

The featureTypes for the first area I load show up on the map preview demo
screens using my SLDs without a problem. Most of the featureTypes for the
second area will not show up. I can click on the empty box where the map
should be and the raw data for the feature(s) I click on shows in the space
below the map. I can get the 2nd set of features to show if I use a very
simple style, like a single width and color for lines with no filtering
rules.

The featureTypes for either area will show if they are the 1st created. If I
move the 1sts created out of the way and restart GeoServer, the 2nds will
still not show. If I delete and recreate them, whichever is created 1st
show.

I am using GeoServer 1.6.0 against a PostgreSQL 8.3 db with PostGIS. I am
hoping this is just something obvious and fundamental to the way GeoServer
works, but please let me know if more info would help to diagnose this
problem.

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

I found my issue - the FeatureTypeName constrains which features the
FeatureTypeStyle will work with; it's not just a name.

That'll teach me to copy and paste.
--
View this message in context: http://www.nabble.com/features-not-showing--tp15808698p15834764.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

geoman ha scritto:

I found my issue - the FeatureTypeName constrains which features the
FeatureTypeStyle will work with; it's not just a name.

That'll teach me to copy and paste.

Ah, I see. If you want to make a style that works with multiple
data set use "Feature" as the FeatureTypeName, like we did in
the sample styles (point, line, polygon for example).

Cheers
Andrea