cmollet / sridentify Goto Github PK
View Code? Open in Web Editor NEWQuickly get the EPSG code from a .prj file or WKT
License: MIT License
Quickly get the EPSG code from a .prj file or WKT
License: MIT License
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
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.
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.
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.