Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Projections for Portugal #242

Closed
fgdrf opened this issue Jul 7, 2017 · 9 comments
Closed

Incorrect Projections for Portugal #242

fgdrf opened this issue Jul 7, 2017 · 9 comments
Milestone

Comments

@fgdrf
Copy link
Contributor

fgdrf commented Jul 7, 2017

The following CRS (on uDig projections database) do not have the necessary TOWGS84 parameters:

  • Lisbon (Lisbon) (4803) - TOWGS84[-304.046,-60.576,103.64,0,0,0,0],AUTHORITY["EPSG","6803"]
  • Lisbon (Lisbon) (deg) = Lisbon (Lisbon) (4803)
  • Lisbon (Lisbon) / Portuguese Grid (20791) - TOWGS84[-304.046,-60.576,103.64,0,0,0,0],AUTHORITY["EPSG","6803"]
  • Lisbon (Lisbon) / Portuguese National Grid (20190) - TOWGS84[-304.046,-60.576,103.64,0,0,0,0],AUTHORITY["EPSG","6803"]

This cause a displacement of 200-300 meters in Portugal mainland.
It is also necessary to provide the equivalence between the following ESRI projections:

  • ESRI:102164: "Lisboa Hayford Gauss IGeoE" is equivalent to EPSG:20790
  • ESRI:102165: "Lisboa Hayford Gauss IPCC" is equivalent to EPSG:20791
  • ESRI:104106: "GCS Datum Lisboa Hayford" is equivalent to EPSG:4207
  • ESRI:102161: "Datum 73 Hayford Gauss IPCC" is equivalent to EPSG:27493
  • ESRI: "GCS_Datum_73" is equivalent to EPSG:4274: Datum 73

Please refer to: http://epsg.io/
Warning: DO NOT use http://spatialreference.org

Please find attached samples of Portuguese projections.
Regards
Antonio

Sample of Portuguese projections.zip

@fgdrf
Copy link
Contributor Author

fgdrf commented Jul 7, 2017

see UDIG-2077

@fgdrf
Copy link
Contributor Author

fgdrf commented Jul 7, 2017

Looks like a problem in Geotools EPSG Databases:

Since uDig is using this stores we should fix it in GeoTools, maybe @aaime or even @jodygarnett can help here

@aaime
Copy link

aaime commented Jul 7, 2017

Is uDig using a supported version of GeoTools?

@fgdrf
Copy link
Contributor Author

fgdrf commented Jul 7, 2017

It was reported for uDig 2.0 which uses GeoTools 14.1

The latest change was Upgrading EPSG database to version 8.6 for 13.0 series. I assume the issue is still valid althought the version we use isn't a supported version

@aaime
Copy link

aaime commented Jul 7, 2017

Then I guess another upgrade of the EPSG module is needed? Contribution to GeoTools welcomed :-) (sorry, I'm don't want to be insensitive, but there is a reason why the EPSG has not been upgraded in a such a long time, lack of time).

@fgdrf
Copy link
Contributor Author

fgdrf commented Jul 7, 2017

Looks like there several newer releases are available (latest is 9.1 whereas GeoTools includes 8.6)

However, my impression is that TOWGS84 isn't available in epsg 9.1 either whereas requested missing parts are available online via http://epsg.io/20791

I assume we have to wait for another EPSG Release, would you agree?

@fgdrf
Copy link
Contributor Author

fgdrf commented Sep 18, 2019

Looks like current version of EPSG database has TOWGS84 set. maybe its a solution to overwrite epsg code using e.g. epsg.properties as an workaround in between

@fgdrf
Copy link
Contributor Author

fgdrf commented Sep 18, 2019

Anyone willing to contribute a fix for this issue? Otherwise I'll close it and waiting for newer EPSG databases from GT.

@jodygarnett
Copy link
Contributor

jodygarnett commented Sep 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants