Coder Social home page Coder Social logo

Comments (4)

snowman2 avatar snowman2 commented on May 29, 2024 1

This may be helpful when debugging: https://pyproj4.github.io/pyproj/stable/advanced_examples.html#debugging-internal-proj

from pyproj.

djhoese avatar djhoese commented on May 29, 2024

Sorry if I missed it in the output above, but what type of file is it? Can you paste the CRS/Proj information contained in the file here? As a last resort if you can provide the URL to the file that might help but I might not have experience with the file format so if you can extra the CRS information and paste it here that'd be best.

from pyproj.

1vcian avatar 1vcian commented on May 29, 2024

Sorry if I missed it in the output above, but what type of file is it? Can you paste the CRS/Proj information contained in the file here? As a last resort if you can provide the URL to the file that might help but I might not have experience with the file format so if you can extra the CRS information and paste it here that'd be best.

the file format is flatgeobuf (EPSG:32633, the mask has the same crs) my problem is that it works on another computer (both with the same virtual env)

from pyproj.

1vcian avatar 1vcian commented on May 29, 2024

This may be helpful when debugging: https://pyproj4.github.io/pyproj/stable/advanced_examples.html#debugging-internal-proj
it was very helpful, tyvm

from the debug i got

DEBUG:GDAL_DATA found in environment.
DEBUG:PROJ_LIB found in environment.
ERROR:PROJ: proj_create_from_database: Cannot find proj.db
DEBUG:GDAL_DATA found in environment.
DEBUG:PROJ_LIB found in environment.
DEBUG:Got coordinate system
DEBUG:Got coordinate system
DEBUG:PROJ_ERROR: proj_create: unrecognized format / unknown name
DEBUG:PROJ_ERROR: proj_create: unrecognized format / unknown name
DEBUG:Flushed buffer
DEBUG:Stopped session

proj.db was my problem

i've checked my PROJ_LIB path and iv'e seen that there were no proj.db inside so i've installed gdal with conda, found the directory of proj.db (C:\ProgramData\miniconda3\Library\share\proj) and replaced the value of PROJ_LIB with the new path.

now it works

from pyproj.

Related Issues (20)

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.