Hello, I'm having a bit of trouble with TIGER data. I'm trying to load
and access it using PostGIS, and only doing Maryland at the moment.
I've followed the first three steps on this page (
http://docs.codehaus.org/display/GEOSDOC/Loading+TIGER+data). At this
point, I should be able to view TIGER point and poly landmarks through
the Map Previews demo page, right?
So I added the FeatureType "tiger2006se:point_landmarks", selected
"point" for the style, 4326 for the SRS (Lookup SRS came back
"unknown"), generated a bounding box, submitted, applied, and saved.
The point_landmarks feature shows up in the mini-map previews, but when
I try to view it I get this exception in the console window:
3001250 [INFO] org.vfny.geoserver.servlets.AbstractService - handling
request:
GetMap Request
version: 1.1.1
output format: image/png
width height: 300,800
bbox: Env[-81.059826 : -73.466302, 37.421658 : 40.269229]
layers: openumi:point_landmarks
styles: point
3001297 [SEVERE] org.geotools.data.jdbc.JDBC1DataStore - Error
Performing SQL query: SELECT encode(AsBinary(force_2d("the_geom"),
'XDR'),'base64') FROM "public"."point_landmarks" WHERE "the_geom" &&
GeometryFromText('POLYGON ((-81.1167774337.364706580000004, -81.11677743
40.32618042, -73.40935057 40.32618042, -73.40935057 37.364706580000004,
-81.11677743 37.364706580000004))', 1)
org.postgresql.util.PSQLException: ERROR: Operation on two geometries
with different SRIDs
The query OpenLayers tried to perform is:
http://localhost:8080/geoserver/wms?bbox=-79.69299149999999,37.883403849
99999,-74.83313650000001,39.80748315&styles=&Format=application/openlaye
rs&request=GetMap&layers=openumi:point_landmarks&width=800&height=300&sr
s=EPSG:4326
I don't know anything about SRIDs... is this an error in the database,
or an error in my request? And how do I go about fixing it?
Thanks,
________________________________
Joshua Foster
Sr. Computer Programmer
1627 Spencer Mountain Rd.
Gastonia, NC 28054
(704) 824-0199 x215
(704) 824-0241 Fax
jfoster@anonymised.com
www.dtiweb.net