Giter Site home page Giter Site logo

Comments (5)

matafokka avatar matafokka commented on August 15, 2024 1

Hello, thanks for the report! I'll do an update later today and notify you :)

from geotiff-geokeys-to-proj4.

matafokka avatar matafokka commented on August 15, 2024 1

Hey, thanks again for reporting the issue! I've added an errors.bothGCSAndPCSAreSet property which is true when both GCS and PCS are present. An actual behavior is the same as before: GCS will be used.

To fix an issue, I suggest:

  1. If it's not your file, report an error to the user.
  2. Otherwise, either delete the wrong key (just like you did) or check fix file in GIS.

I didn't want to add an option to choose because it'll complicate the API. This applies to all errors that the user might encounter.


Anyway, how did you get this file?

Because the whole thing seems wrong to me. Maybe we'll need help from someone more experienced with GeoTIFF than me. I'll pin this issue in case someone will be able to clarify this.

from geotiff-geokeys-to-proj4.

ImpulseDeer avatar ImpulseDeer commented on August 15, 2024 1

Its generatered by a ground penetration radar processing software, a bit of a nish product. Will report it as a bug to them as I agree it really doesn't make sense to define both and define them differently!

Sounds fair to treat it only as an error and not complicate the API. Hopefully the error message will help someone in the future with a similar problem!

from geotiff-geokeys-to-proj4.

matafokka avatar matafokka commented on August 15, 2024 1

Aaand done! :)

from geotiff-geokeys-to-proj4.

matafokka avatar matafokka commented on August 15, 2024

Thank you very much for help! Please, let me know what they answer.

Also, I forgot to release an update on npm, give me a couple of minutes :D

from geotiff-geokeys-to-proj4.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.