Re: [gdal-dev] Sample script idea: gdal_srsguess

2014-11-03 Thread Aaron Racicot
The bounding boxes (from EPSG) are in our database (at projfinder) and the SQL query checks the map center point against those boxes to then only do the distance calculation against those valid candidates. A On Nov 2, 2014, at 11:46 PM, Paolo Cavallini wrote: > Il 31/10/2014 17:54, Aaron Rac

Re: [gdal-dev] Sample script idea: gdal_srsguess

2014-11-03 Thread Paolo Cavallini
Il 03/11/2014 17:02, Andre Joost ha scritto: > The "AREA_OF_USE_CODE" is already in /gdal-data/gdal_datum.csv. > > The bounding boxes can be extracted from the EPSG database "Area" table as > well. That's great news, thanks. All the best. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e Post

Re: [gdal-dev] Sample script idea: gdal_srsguess

2014-11-03 Thread Andre Joost
Am 03.11.2014 um 08:46 schrieb Paolo Cavallini: Thanks Aaron for this. IMHO an even better option would be to explicitly add to EPSG/proj.4 db the bounding boxes of validity for each projection: in this way, client GIS could show only valid projections for a given map area, and this would be a

Re: [gdal-dev] Sample script idea: gdal_srsguess

2014-11-03 Thread Jukka Rahkonen
Aaron Racicot z-pulley.com> writes: > > We played with something just like this last year (called projfinder): > > http://projfinder.com/ > > That is just a simple demo application that was a proof of concept. Center the map where you think your data is > from, enter in a sample X,Y from your

Re: [gdal-dev] Sample script idea: gdal_srsguess

2014-11-02 Thread Paolo Cavallini
Il 31/10/2014 17:54, Aaron Racicot ha scritto: > We played with something just like this last year (called projfinder): > > http://projfinder.com/ > > That is just a simple demo application that was a proof of concept. Center > the map where you think your data is from, enter in a sample X,Y fr

Re: [gdal-dev] Sample script idea: gdal_srsguess

2014-10-31 Thread Aaron Racicot
We played with something just like this last year (called projfinder): http://projfinder.com/ That is just a simple demo application that was a proof of concept. Center the map where you think your data is from, enter in a sample X,Y from your dataset and it tries to guess what projection your

[gdal-dev] Sample script idea: gdal_srsguess

2014-10-31 Thread Jukka Rahkonen
Hi, This question pops up every now and then in various forums: People have received dataset in unknown SRS and they ask which coordinate system it might be using. Most often data are shapefiles without .prj file or image files with only .tfw file or sometimes scanned paper maps as plain images.