[Geoserver-users] custom srs not loaded 27572

Hi,

GS 2.3.2
I have a definition in user_projections/epsg.properties for Lambert II 27572

27572=PROJCS[“NTF (Paris) / Lambert zone II”,GEOGCS[“NTF (Paris)”,DATUM[“Nouvelle_Triangulation_Francaise_Paris”,SPHEROID[“Clarke 1880 (IGN)”,6378249.2,293.4660212936269,AUTHORITY[“EPSG”,“7011”]],TOWGS84[-168,-60,320,0,0,0,0],AUTHORITY[“EPSG”,“6807”]],PRIMEM[“Paris”,2.33722917,AUTHORITY[“EPSG”,“8903”]],UNIT[“grad”,0.01570796326794897,AUTHORITY[“EPSG”,“9105”]]],UNIT[“metre”,1,AUTHORITY[“EPSG”,“9001”]],PROJECTION[“Lambert_Conformal_Conic_1SP”],PARAMETER[“latitude_of_origin”,52],PARAMETER[“central_meridian”,0],PARAMETER[“scale_factor”,0.99987742],PARAMETER[“false_easting”,600000],PARAMETER[“false_northing”,2200000],AUTHORITY[“EPSG”,“27572”],AXIS[“X”,EAST],AXIS[“Y”,NORTH]]

When i restart GS, i have the following :

2013-10-08 15:04:58,832 INFO [org.geotools.referencing.factory] - Using “/srv/tomcat/geoserver/work/gs_data/user_projections/epsg.properties” as EPSG factory.
2013-10-08 15:04:58,832 WARN [org.geotools.referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“NTF (Paris) / Lambert zone II”,GEOGCS[“NTF (Paris)”,DATUM[“Nouvelle_Triangulation_Francaise_Paris”,SPHEROID[“Clarke 1880 (IGN)”,6378249.2,293.4660212936269,AUTHORITY[“EPSG”,“7011”]],TOWGS84[-168,-60,320,0,0,0,0],AUTHORITY[“EPSG”,“6807”]],PRIMEM[“Paris”,2.33722917,AUTHORITY[“EPSG”,“8903”]],UNIT[“grad”,0.01570796326794897,AUTHORITY[“EPSG”,“9105”]]],UNIT[“metre”,1,AUTHORITY[“EPSG”,“9001”]],PROJECTION[“Lambert_Conformal_Conic_1SP”],PARAMETER[“latitude_of_origin”,52],PARAMETER[“central_meridian”,0],PARAMETER[“scale_factor”,0.99987742],PARAMETER[“false_easting”,600000],PARAMETER[“false_northing”,2200000],AUTHORITY[“EPSG”,“27572”],AXIS[“X”,EAST],AXIS[“Y”,NORTH]]

I read that GS loads my file but WARN be about something.
When i go into GS and i watch at my CRS WKT, nothing has changed.

No way to load my custom epsg

Any idea ?
Thanks


Florent Gravin
Camptocamp - Chambéry
0479444492

Ok got it :

As 27572 already exists, it should be in epsg.properties instead of epsg_overrides.properties

···

On Tue, Oct 8, 2013 at 3:42 PM, Florent Gravin <florent.gravin@anonymised.com> wrote:

Hi,

GS 2.3.2
I have a definition in user_projections/epsg.properties for Lambert II 27572

27572=PROJCS[“NTF (Paris) / Lambert zone II”,GEOGCS[“NTF (Paris)”,DATUM[“Nouvelle_Triangulation_Francaise_Paris”,SPHEROID[“Clarke 1880 (IGN)”,6378249.2,293.4660212936269,AUTHORITY[“EPSG”,“7011”]],TOWGS84[-168,-60,320,0,0,0,0],AUTHORITY[“EPSG”,“6807”]],PRIMEM[“Paris”,2.33722917,AUTHORITY[“EPSG”,“8903”]],UNIT[“grad”,0.01570796326794897,AUTHORITY[“EPSG”,“9105”]]],UNIT[“metre”,1,AUTHORITY[“EPSG”,“9001”]],PROJECTION[“Lambert_Conformal_Conic_1SP”],PARAMETER[“latitude_of_origin”,52],PARAMETER[“central_meridian”,0],PARAMETER[“scale_factor”,0.99987742],PARAMETER[“false_easting”,600000],PARAMETER[“false_northing”,2200000],AUTHORITY[“EPSG”,“27572”],AXIS[“X”,EAST],AXIS[“Y”,NORTH]]

When i restart GS, i have the following :

2013-10-08 15:04:58,832 INFO [org.geotools.referencing.factory] - Using “/srv/tomcat/geoserver/work/gs_data/user_projections/epsg.properties” as EPSG factory.
2013-10-08 15:04:58,832 WARN [org.geotools.referencing.factory] - Axis elements found in a wkt definition, the force longitude first axis order hint might not be respected:
PROJCS[“NTF (Paris) / Lambert zone II”,GEOGCS[“NTF (Paris)”,DATUM[“Nouvelle_Triangulation_Francaise_Paris”,SPHEROID[“Clarke 1880 (IGN)”,6378249.2,293.4660212936269,AUTHORITY[“EPSG”,“7011”]],TOWGS84[-168,-60,320,0,0,0,0],AUTHORITY[“EPSG”,“6807”]],PRIMEM[“Paris”,2.33722917,AUTHORITY[“EPSG”,“8903”]],UNIT[“grad”,0.01570796326794897,AUTHORITY[“EPSG”,“9105”]]],UNIT[“metre”,1,AUTHORITY[“EPSG”,“9001”]],PROJECTION[“Lambert_Conformal_Conic_1SP”],PARAMETER[“latitude_of_origin”,52],PARAMETER[“central_meridian”,0],PARAMETER[“scale_factor”,0.99987742],PARAMETER[“false_easting”,600000],PARAMETER[“false_northing”,2200000],AUTHORITY[“EPSG”,“27572”],AXIS[“X”,EAST],AXIS[“Y”,NORTH]]

I read that GS loads my file but WARN be about something.
When i go into GS and i watch at my CRS WKT, nothing has changed.

No way to load my custom epsg

Any idea ?
Thanks


Florent Gravin
Camptocamp - Chambéry
0479444492


Florent Gravin
Camptocamp - Chambéry
0479444492

On Tue, Oct 8, 2013 at 5:01 PM, Florent Gravin <
florent.gravin@anonymised.com> wrote:

Ok got it :

As 27572 already exists, it should be in epsg.properties instead of
epsg_overrides.properties

Actually, the other way around, which I believe it's what you meant :slight_smile:

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------