Hello
I think I found a wrong WKT string for CH1903/LV03 Projection
(ESPG:21781). With the actual definition inside espg.properties you've
got a wrong display from map (you will see an example here:
http://www.zubi.li/files/schweiz.jpg). With the WKT string from
PostGIS the same source will displayed correct!!
Who can forward this mail to the correct person who can correct this
in next release? Thank you.
Regards, Thomas
2006/10/30, Thomas Zuberbuehler <tzuberbuehler@anonymised.com>:
I add your wkt string to epsg.properties, compress it again and
restart my server. But nothing happened. If I create a new feature
type with geoserver webinterface I will get:
Could not find a definition for: EPSG:45555Thomas
2006/10/30, Alexander Petkov <greenkov@anonymised.com>:
> On 10/30/06, Thomas Zuberbuehler <tzuberbuehler@anonymised.com> wrote:
> > Following the wkt string for CH1903/LV03 (EPSG:21781) from PostGIS.
> > Its a different one to 21781 from GeoServer.
> >
> > <code>
> >
> > PROJCS["CH1903 / LV03",
> > GEOGCS["CH1903",
> > DATUM["CH1903",
> > SPHEROID["Bessel 1841",6377397.155,299.1528128,
> > AUTHORITY["EPSG","7004"]
> > ],
> > AUTHORITY["EPSG","6149"]
> > ],
> > PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],
> > UNIT["degree",0.01745329251994328,
> > AUTHORITY["EPSG","9122"]
> > ],
> > AUTHORITY["EPSG","4149"]
> > ],
> > PROJECTION["Hotine_Oblique_Mercator"],
> > PARAMETER["latitude_of_center",46.95240555555556],
> > PARAMETER["longitude_of_center",7.439583333333333],
> > PARAMETER["azimuth",90],
> > PARAMETER["rectified_grid_angle",90],
> > PARAMETER["scale_factor",1],
> > PARAMETER["false_easting",600000],
> > PARAMETER["false_northing",200000],
> > UNIT["metre",1,AUTHORITY["EPSG","9001"]],
> > AUTHORITY["EPSG","21781"]
> > ]
> > +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333
> > +x_0=600000 +y_0=200000 +ellps=bessel +units=m +no_defs
> >
> > </code>
>
> The last 2 lines are proj4 text, you do not need that. Probably that's
> why it didn't parse.
>
> Just use the srtext string from the spatial_ref_sys table. You can add
> this to the epsg.properties file:
>
> 45555=PROJCS["CH1903_LV03",GEOGCS["GCS_CH1903",DATUM["D_CH1903",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",200000],PARAMETER["Scale_Factor",1],PARAMETER["Azimuth",90],PARAMETER["Longitude_Of_Center",7.439583333333333],PARAMETER["Latitude_Of_Center",46.95240555555556],UNIT["Meter",1]]
>
> Explanation:
> 45555 is a code that I came up with. Change it to something that makes
> sense to you.
> Also, I am not certain if the entry really needs to be all on one
> line--you can try it and tell me.
>
> Alex
>--
Thomas Zuberbuehler
http://www.zubi.li
--
Thomas Zuberbuehler
http://www.zubi.li
--
Thomas Zuberbuehler
http://www.zubi.li