Hello,
As we do not have our data in a standard coordinate system (it is EPSG:31283 but with 5000000 subtracted in the y axis), I would like to know where GeoServer gets the definitions of coordinate system from, using the EPSG code. In proj4 this is a text file, but GeoTools seem to use a database (the access database from EPSG?), but I did not find any database in the installation. It seems to be possible to get the data from a postgreSQL database, which we already have loaded with EPSG data and which we could extent with a custom code definition.
Can anybody tell me, how this can be done?
Best Regards,
Gerhard
--
Gerhard Sommer
Magistrat Wien (MA 14-ADV), Rathausstraße 1, 1082 Wien, Austria
E-Mail: som@anonymised.com
Tel: +43 (1) 4000 91326
Fax: +43 (1) 4000 99 91326
Hi Sommer,
GeoServer falls back on support in the underlying GeoTools library for all reprojection. The file you are looking for is inside the gt2-epsg-wkt.jar located in the WEB-INF/lib directory of the server. Its called epsg.properties. Its basically a mapping from EPSG code to the WKT describing the coordinate system.
-Justin
Sommer Gerhard wrote:
Hello,
As we do not have our data in a standard coordinate system (it is EPSG:31283 but with 5000000 subtracted in the y axis), I would like to know where GeoServer gets the definitions of coordinate system from, using the EPSG code. In proj4 this is a text file, but GeoTools seem to use a database (the access database from EPSG?), but I did not find any database in the installation. It seems to be possible to get the data from a postgreSQL database, which we already have loaded with EPSG data and which we could extent with a custom code definition.
Can anybody tell me, how this can be done?
Best Regards,
Gerhard
--
Gerhard Sommer
Magistrat Wien (MA 14-ADV), Rathausstraße 1, 1082 Wien, Austria
E-Mail: som@anonymised.com
Tel: +43 (1) 4000 91326
Fax: +43 (1) 4000 99 91326
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com
On 5/12/06, Sommer Gerhard <som@...873...> wrote:
Hello,
As we do not have our data in a standard coordinate system (it is EPSG:31283 but with 5000000 subtracted in the y axis), I would like to know where GeoServer gets the definitions of coordinate system from, using the EPSG code. In proj4 this is a text file, but GeoTools seem to use a database (the access database from EPSG?), but I did not find any database in the installation. It seems to be possible to get the data from a postgreSQL database, which we already have loaded with EPSG data and which we could extent with a custom code definition.
Can anybody tell me, how this can be done?
It can definitely be done. See the following WIKI page(s) for some tips:
http://docs.codehaus.org/display/GEOSDOC/Defining+a+custom+projection
In your case, look at both examples--the PostGis one and the Geoserver one.
Since you have already tackled defining custom parameters in Postgis,
you should have no problems constructing the WKT for Geoserver.
And once you are successfull defining parameters for your projection
in Geoserver, you are more than welcome to brag about it on the wiki :
-)
Post your custom PostGis entry if you get stuck.
Alex