Giter Site home page Giter Site logo

transformation_grids's People

Contributors

alexgleith avatar danieljaksa avatar harry093 avatar nich0lasbr0wn avatar tasgeodesist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

transformation_grids's Issues

GeoTools/jGridShift reports gsb files as invalid

GeoTools uses the jGridShift library to read and apply NTv2 grid shift files. JGridShift is not happy with the contents of the files, and throws exceptions.

GeoTools uses an older version of of jGridShift (v1.0), but for reference, the source code is a lot like the latest one available here, where it's comparing the nodeCount with lonColumnCount times latRowCount and finds the two numbers are indeed different, hence throws an exception:
https://github.com/floscher/jGridShift/blob/master/src/main/java/au/com/objectix/jgridshift/NTv2SubGrid.java#L187

Trying to load the GDA94_GDA2020_conformal_and_distortion.gsb file the error message is:

java.lang.IllegalStateException: SubGrid WEST_DC5 has inconsistent grid dimensions

For reference, lonColumnCount=1100, latRowCount=1481, nodeCount=1630581 , so there seems to be an excess of nodes? (1481ร—1100=1629100)

Upon trying to load the GDA94_GDA2020_conformal.gsb file, the jGridShift library throws the following error:

java.lang.IllegalStateException: SubGrid WEST_C5 has inconsistent grid dimesions

The number of cols, rows and node counts is the same as in the other file.

Grid files are too large for default distribution

The grid files here are very large, and unfortunately as a result they've been blocked from inclusion in the proj-datumgrid package. This means that the grid files are not available by default on important platforms such as the osgeo4w install (accordingly they are not available in a qgis install without manual user installation).

Is there any chance the grids could be thinned to avoid this situation?

Relevant discussion is at:

OSGeo/proj-datumgrid#16 (comment)

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.