[Geoserver-devel] 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 shows 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--tp15777486p15777486.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

geoman ha scritto:

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

Hem, this request is out of topic on the devel list. The devel list is the place where GeoServer developers discuss about the new features and general project directions.
This kind of questions are better made on the users list.

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

Try to make the following basic checks:
* are the spatial reference system for the feature types that aren't
   visible properly set? That is, you are sure the EPSG code you're using
   is really the correct one for your data?
   Just to make a quick check, could you paste the native bbox of one
   of the layers that's not showing and the SRS code you've used for it?
   Is there any reprojection involved in displaying the data?
* Is the style you've chosen compatible with the geometries you've used?
   Try to use the basic styles, that is, point, line, polygon, and make
   sure the chosen one corresponds to the geometry type of your layer
   (e.g., if you choose a polygon style for a point layer you won't
   see anything)

If this does not help, can you dump a portion of your data to
shapefile and send it to me by private mail? I'll have a look and
see what's the most probable cause.

Hope this helps
Cheers
Andrea