Bradley Mclain ha scritto:
Thanks I'm going to download and try 1.0.5beta of Geoserver and Mapbuilder as well. I'll see how it goes and get back to you.
The shapefiles I have come with .prj files, how would you suggest I get the SRS information from them?
Well, by visual inspection... For example:
PROJCS["ED50 / UTM zone 32N", GEOGCS["ED50", DATUM["European Datum 1950", SPHEROID["International 1924", 6378388.0, 297.0, AUTHORITY["EPSG","7022"]], TOWGS84[-157.89, -17.16, -78.41, 2.118, 2.697, -1.434, -1.1097046576093785], AUTHORITY["EPSG","6230"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH], AUTHORITY["EPSG","4230"]], PROJECTION["Transverse Mercator", AUTHORITY["EPSG","9807"]], PARAMETER["central_meridian", 9.0], PARAMETER["latitude_of_origin", 0.0], PARAMETER["scale_factor", 0.9996], PARAMETER["false_easting", 500000.0], PARAMETER["false_northing", 0.0], UNIT["m", 1.0], AXIS["Easting", EAST], AXIS["Northing", NORTH], AUTHORITY["EPSG","23032"]]
This is "UTM 32N, ED50". If you're lucky, you have the projection and
reference system name in the .prj and you can search it among the full
list of projections supported by geoserver, which you can find at:
http://localhost:8080/geoserver/srsHelp.do
If not, then it's harder: you have to look for a projection that has
the same parameters, that is, same datum, same GEOGCS, same units,
same projection, same axies. And unfortunately you have to do so
by visual inspection...
Also they come with .sbn, .dbf, .sbx, .shp.xml, and .shx any hints on what the rest of these can be used for and are all of them vital?
The minimum is .shp, .shx and .dbf, by shapefile public spec.
The .prj is an extra that contains geo-referencing information.
The .sbn and .sbx I don't know, but I suspect they are a way of indexing the .bdf file for quicker searches (they are not specified by the shapefile standard), nor I know what the the .shp.xml is for.
Cheers
Andrea