Giter Club home page Giter Club logo

sridentify's People

Contributors

cmollet avatar harlamovsv avatar jmoujaes avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

sridentify's Issues

Allow custom location for database file

Hi,

instead of forcing to use --user on installation which might not be desired for everyone, how about an additional flag on installation that allows to specify a custom location for the database on which the user has write access?

Cheers

Calls to get_epsg() hang forever if the API isn't working

Hi there, I found that the .get_epsg() method would hang without responding, blocking execution permanently if the call to the backup API, http://prj2epsg.org/search.json was not responding.

Can you perhaps have this fail gracefully, or provide the option to let the user specify that it not fall back to the API at all?

Thank you! Really appreciate your work on this.

bug in 0.1.1

I use the wkt like this PROJCS[\"UTM Zone 50, Northern Hemisphere\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"latitude_of_origin\",0],PARAMETER[\"central_meridian\",117],PARAMETER[\"scale_factor\",0.9996],PARAMETER[\"false_easting\",500000],PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]] to find the epsg code, it is ok in mac os, but error in windows, I found that the wkt do not in the database esri_epsg.db, but ok in mac os. than we replace the esri_epsg.db file. it worked.

prj2epsg alternative

Hello,
Does anyone knows about an alternative to prj2epsg.org service? I've been using sridentify successfully, but noticed that prj2epsg.org is down for like a month now and I cannot find a way to automatically detect EPSG code without using GUI tools.

Thank you!

from_file shouldn't need to read the whole file into memory

Since .prj files are supposed to be small text files, there's no point in reading the whole file into memory. Rather, it should determine the minimum amount of bytes necessary for determining if the input file is even something worth querying the database. This is to mitigate against accidentally trying to read in a gigantic file and as a security precaution against malicious code execution.

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.