Re: [gdal-dev] Heuristics to classify raster data ?

2014-03-07 Thread Joaquim Luis
Hum, I read a bit http://en.wikipedia.org/wiki/K-means_clustering and not being familiar with it, it is not obvious how that could lead to the binary result I expect ;-) I was hoping for a ready-made solution for my problem. I'm kind of demanding tonight ;-) Well, too late for tonight. I gues

[gdal-dev] Problem with results on two different versions of gdal_wrap

2014-03-07 Thread Stephen Woodbridge
Hi All, First off, sorry this is really long with all the gdalinfo pasted into it, but I thought is might be more useful to have real information to look at. I have been running down a problem caused by upgrading a server to a newer version of gdal. Here are the details: old server: GDAL 1

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Jukka Rahkonen
Rahkonen Jukka (Tike mmmtike.fi> writes: > Now I wonder if this is really about too big image or something else. 15360 by 15360 pixels is not extremely > much. Is there some secret 200 inch limit hiding in the background? See > http://indesignsecrets.com/beware-200-limit-for-pdfs.php. 5080 mm i

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Rahkonen Jukka (Tike)
Even Rouault wrote: > > Le vendredi 07 mars 2014 21:11:40, Even Rouault a écrit : > > Le vendredi 07 mars 2014 14:20:13, Rahkonen Jukka (Tike) a écrit : > > > Hi Even, > > > > > > Yes, that way I can perhaps create an all-white PDF map a bit faster > > > but with no other improvement, unfortunate

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Even Rouault
Le vendredi 07 mars 2014 21:11:40, Even Rouault a écrit : > Le vendredi 07 mars 2014 14:20:13, Rahkonen Jukka (Tike) a écrit : > > Hi Even, > > > > Yes, that way I can perhaps create an all-white PDF map a bit faster but > > with no other improvement, unfortunately. > > I've tried "gdal_translate

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Even Rouault
Le vendredi 07 mars 2014 14:20:13, Rahkonen Jukka (Tike) a écrit : > Hi Even, > > Yes, that way I can perhaps create an all-white PDF map a bit faster but > with no other improvement, unfortunately. I've tried "gdal_translate UM5L.png UM5L.pdf -of pdf" on my Linux workstation and the the followi

Re: [gdal-dev] Heuristics to classify raster data ?

2014-03-07 Thread Dmitriy Baryshnikov
Hi Even, The result of classification the map produce less classes than aerial/satellites images. This is the way using k-means for you purposes. So you need do set the border count of classes to decide is this map or imagery. Less classes count - map, otherwise - imagery. Best regards,

Re: [gdal-dev] Heuristics to classify raster data ?

2014-03-07 Thread Even Rouault
Le jeudi 06 mars 2014 20:50:45, Joaquim Luis a écrit : > Even, > > Did not get it all. You want a method that allows you to tell between a > map and aerial/satellite image? Yes exactly > I believe the k-means algorithm would produce quite good results on maps > as is expectable that individual c

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Etienne Tourigny
Jukka - have you tried with other pdf viewers? On Fri, Mar 7, 2014 at 1:43 PM, Pepijn Van Eeckhoudt < pep...@vaneeckhoudt.net> wrote: > On 07-03-14 11:42, Jukka Rahkonen wrote: > >> I had another try with the same binaries with a small png file (2000x2000 >> pixels) and conversion into pdf was f

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Pepijn Van Eeckhoudt
On 07-03-14 11:42, Jukka Rahkonen wrote: I had another try with the same binaries with a small png file (2000x2000 pixels) and conversion into pdf was fast and successful. Is there perhaps something that does not scale up properly when the raster size gets bigger? Based on my own experience, Adob

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Even Rouault
Selon "Rahkonen Jukka (Tike)" : > Hi Even, > > Yes, that way I can perhaps create an all-white PDF map a bit faster but with > no other improvement, unfortunately. Hum, well, perhaps create a ticket on this then > > -Jukka- > > Even Rouault wrote: > > > > Hi Jukka, > > > > did you try with -co

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Rahkonen Jukka (Tike)
Hi Even, Yes, that way I can perhaps create an all-white PDF map a bit faster but with no other improvement, unfortunately. -Jukka- Even Rouault wrote: > > Hi Jukka, > > did you try with -co TILED=YES ? > > Even > > > > Hi, > > > > I can't make usable pdf files from some original maps and

Re: [gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Even Rouault
Hi Jukka, did you try with -co TILED=YES ? Even > Hi, > > I can't make usable pdf files from some original maps and I do not > understand what goes wrong. > I am testing on Windows 7 and GDAL-dev from gisinternals, both 32 and 64 > bit. Images are like this one: > > http://kartat.kapsi.fi/files

[gdal-dev] Something wrong with writing a big raster into PDF

2014-03-07 Thread Jukka Rahkonen
Hi, I can't make usable pdf files from some original maps and I do not understand what goes wrong. I am testing on Windows 7 and GDAL-dev from gisinternals, both 32 and 64 bit. Images are like this one: http://kartat.kapsi.fi/files/taustakarttasarja/taustakartta_80/5m/etrs89/png/UM5L.png Command