Re: [gdal-dev] "Times" projection in GDAL

2014-03-24 Thread Jed O. Kaplan
Dear Dmitriy, Yes that is the correct projection code, but the problem is - and hence my original question - that the “Times” projection referred to on the link you sent me is not defined in proj4. I’m wondering if anyone has programmed it, or if someone would be so kind as to assist me in maki

[gdal-dev] Draft GDAL/OGR class hierarchy for GDAL 2.0

2014-03-24 Thread Even Rouault
Hi, "Release soon, release early", so for people who like UML diagrams (there is also a prototype of C++ classes for those who don't like UML very much), here's a blog entry with the outcome of my thoughts for a possible re-organisation of the GDAL/OGR class hierarchy http://erouault.blogspot.ca/

Re: [gdal-dev] "Times" projection in GDAL

2014-03-24 Thread Dmitriy Baryshnikov
Hi Jed, I'm look for this projection on spatialreference.org. I found this one: http://spatialreference.org/ref/sr-org/7670/ Does this one the same or close to the ESRI one? Best regards, Dmitry 24.03.2014 22:42, Jed O. Kaplan пишет: Dear GDAL gurus, I have some scanned maps in the “Tim

[gdal-dev] "Times" projection in GDAL

2014-03-24 Thread Jed O. Kaplan
Dear GDAL gurus, I have some scanned maps in the “Times" projection that I would like to orthorectify using gdalwarp and other GDAL tools. It appears that this projection is not supported in the version of proj4/GDAL that I have, though it seems to be included in most ESRI software (http://hel

Re: [gdal-dev] Problem using gdal_contour after gdal_merge.py

2014-03-24 Thread Tom Beddard
Thanks Jukka. Good to know about gdalinfo -hist  as you said the problem was the incorrect setting for the nodata value.  I was using 32767 as suggested in various wikis, but instead now it works as expected by changing the command to: gdal_contour -a elev -snodata "-32768" -i src.tif contour.shp

Re: [gdal-dev] Problem using gdal_contour after gdal_merge.py

2014-03-24 Thread Jukka Rahkonen
Tom Beddard subblue.com> writes: > > > I do specify -i 20 in my scripts (that was a typo just in my original email). Does it still work ok for you with an interval of 20 instead of 100? I stopped the test because it was so slow and would probably stopped because of too big shp filesize. You m

Re: [gdal-dev] Problem using gdal_contour after gdal_merge.py

2014-03-24 Thread Tom Beddard
I do specify -i 20 in my scripts (that was a typo just in my original email). Does it still work ok for you with an interval of 20 instead of 100? I’m actually doing more tests just now. I’ve found that gdal_contour is significantly faster with a far smaller output shape file size if I first r

Re: [gdal-dev] Problem using gdal_contour after gdal_merge.py

2014-03-24 Thread Jukka Rahkonen
Jukka Rahkonen mmmtike.fi> writes: > > Tom Beddard subblue.com> writes: > > > > Can anyone else confirm this behaviour when extracting contours from > merged SRTM tiles? Can you check this command, it is perhaps not that you actually used: gdal_contour -a elev -snodata 32767 -i uk-3785.tif

Re: [gdal-dev] Installing GDAL on Win7

2014-03-24 Thread David Strip
On 3/24/2014 6:31 AM, Mike Flannigan wrote: > However DEFLATE is totally unreadable: > http://www.mflan.com/temp/deflate.jpg > in both Global Mapper and QGIS. Early in the qgis 2.x series one of popular the pre-built Windows binaries was built without DEFLATE compression. However this has been fi

Re: [gdal-dev] Installing GDAL on Win7

2014-03-24 Thread Mike Flannigan
On 3/24/2014 6:01 AM, Norman Vine wrote: Thank you all. I got it to work with the following command: gdal_translate -of GTiff -co "TILED=YES" -co "TFW=YES" C:\Copy\wp.pdf C:\Copy\wpt.tif --config GDAL_PDF_DPI 300 I would experiment with adding one of these Creation Options -co "COMPRESS=LZW"

Re: [gdal-dev] Problem using gdal_contour after gdal_merge.py

2014-03-24 Thread Jukka Rahkonen
Tom Beddard subblue.com> writes: > Can anyone else confirm this behaviour when extracting contours from merged SRTM tiles? Hi, If you can send me a link to your two SRTM tiles then I can have a try. GDAL told you the very reason for your trouble ERROR 1: Failed to write shape object. File si

Re: [gdal-dev] Problem using gdal_contour after gdal_merge.py

2014-03-24 Thread Tom Beddard
I did try without changing CRS before doing the contour extraction, still no luck. The strange thing is that a single SRTM tile might generate a contour shape file of ~120MB and take just over a minute to process, however combining just two tiles with gdal_merge.py and then running gdal_contour

Re: [gdal-dev] Installing GDAL on Win7

2014-03-24 Thread Norman Vine
On Mar 23, 2014, at 9:32 PM, Mike Flannigan wrote: > > Thank you all. I got it to work with the following > command: > gdal_translate -of GTiff -co "TILED=YES" -co "TFW=YES" C:\Copy\wp.pdf > C:\Copy\wpt.tif --config GDAL_PDF_DPI 300 I would experiment with adding one of these Creation Optio

Re: [gdal-dev] Installing GDAL on Win7

2014-03-24 Thread Jukka Rahkonen
Mike Flannigan att.net> writes: > > > > Thank you all.  I got it to work with the following > command: > gdal_translate -of GTiff -co "TILED=YES" -co "TFW=YES" > C:\Copy\wp.pdf C:\Copy\wpt.tif --config GDAL_PDF_DPI 300 > It works pretty good.  It converts a 11.1 MB PDF