Ticket #27 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Can you please check for EPSG:3787 and EPSG:3794 implementation

Reported by: ssddgreg Owned by: warmerdam
Priority: major Milestone: 4.7.0
Component: InitializationFiles Version: 4.6.1
Keywords: epsg Cc:

Description

Can you please check for EPSG:3787 and EPSG:3794 implementation for the Slovenian WMS and WFS users?

Thanks!

Best regards, Dejan

Change History

Changed 4 years ago by warmerdam

  • status changed from new to assigned
  • component changed from Core to InitializationFiles
  • priority changed from blocker to major
  • version changed from unspecified to 4.6.1
  • keywords epsg added
  • type changed from enhancement to defect

If I use the GDAL "testepsg" program I get the following definitions:

3794: +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9999 +x_0=500000 +y_0=-5000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

3787: +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9999 +x_0=500000 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_def

Do these seem reasonable?

I observe these appear to be missing in proj/nad/epsg - I'm not sure why. Perhaps they are very new and the PROJ epsg init file was not regenerated last time I upgraded my epsg database? If so, perhaps this ticket just devolves to be "regenerate the PROJ.4 epsg init file with the latest epsg definitions".

Changed 4 years ago by ssddgreg

Frank,

can you please help me how to run the above command line using testepsg in GDAL? There is little information about it on the web.

Best regards, Dejan

Changed 3 years ago by warmerdam

  • status changed from assigned to closed
  • resolution set to fixed
  • milestone set to 4.7.0

Dejan,

Sorry for the delay. It would be:

testepsg EPSG:3787

The testepsg program isn't built by default, so you might need to cc into gdal/apps and do "make testepsg" and install it manually.

I see the current PROJ.4 epsg init file has:

# MGI / Slovene National Grid (deprecated)
<3787> +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9999 +x_0=500000 +y_0=-5000000 
       +ellps=bessel +datum=hermannskogel +units=m +no_defs  <>
# Slovenia 1996 / Slovene National Grid
<3794> +proj=tmerc +lat_0=0 +lon_0=15 +k=0.9999 +x_0=500000 +y_0=-5000000 
       +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs  <>

I'm not positive what release these went out in, presumably 4.7.0.

Note: See TracTickets for help on using tickets.