Hi,
I'm a little confused about viewing shape files that have been loaded into
the server. I have loeaded a shape file (the main roads of california),
and it gets looaded without incidence. How, at this point do I view it?
I looked at the demo with the bc roads and was confused by the boundingbox
servlet parameter
example:
http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:bc_roads&bbox=489153,5433000,529000,5460816&width=1000&height=200&srs=EPSG:27354&styles=normal&Format=image/png
* what coordinate system do 489153,5433000,529000,5460816 refer to?
It would seem to me that if the info.xml file describes the shapefile in
geocoordinates (lat/long) then the query should be in geocoordiantes also
-- I'm probably missing something simple here.
So, as I was saying I loaded up the california roads without a hitch, but
I'm not sure what boundingbox query prarmeters I should submit to the
servlet -- I tried some abitrary ones an got completly white png's. Here
are some example queries that I issued:
http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=4891,5433000,529,5460816&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
http://nebulous.nceas.ucsb.edu:8070/geoserver/wms?request=GetMap&layers=topp:major_roads_unprojected&bbox=-100,100,-100,100&width=200&height=200&srs=EPSG:27354&styles=normal&Format=image/png
(both bame up white (blank) images)
my info.xml files are like:
####################### start info #######################################
<featureType datastore = "usaroads" >
<name>major_roads_unprojected</name>
<!--
native wich EPGS code for the FeatureTypeInfoDTO
-->
<SRS>27354</SRS>
<title>test usa roads</title>
<abstract>This is some road features USA</abstract>
<numDecimals value = "0" />
<keywords>USA, road, </keywords>
<latLonBoundingBox dynamic = "false" miny = "32.54218933792563" maxy =
"42.00256500076555" maxx = "-114.4803222939074" minx =
"-124.26521346951216" />
<!--
the default style this FeatureTypeInfoDTO can be represented by.
at least must contain the "default" attribute
-->
<styles default = "normal" />
</featureType>
####################### end info #######################################
if interested I put the shp file and associated dbf etc at:
http://nebulous.nceas.ucsb.edu/harris/ca_road_shape.tgz
thanks for your help. John