[OSM-talk] Fwd: loading geotiff to osm editors

maning sambale emmanuel.sambale at gmail.com
Wed Oct 28 23:29:30 GMT 2009


Big thanks to Andy for helping us create slippy map tiles from a
donated highres images in Pangasinan, Philippines.  Anyone can start
tracing roads and other features using any osm editor.

Estimated bbox:
http://www.openstreetmap.org/?minlon=120.331&minlat=15.9464&maxlon=120.602&maxlat=16.2202&box=yes

(posted here in case a Philippine mapper didn't catch it on talk-ph list)


---------- Forwarded message ----------
From: Andy Allan <gravitystorm at gmail.com>
Date: Wed, Oct 28, 2009 at 4:36 AM
Subject: Re: [OSM-talk] loading geotiff to osm editors
To: maning sambale <emmanuel.sambale at gmail.com>


Cool, I've put them all together and they are now available at the
same URLs. It should have the most recent imagery on top (if there's
more than one for a location) and are available now down to zoom 19.

Let me know how you get on!

Cheers,
Andy

On Tue, Oct 27, 2009 at 3:57 PM, maning sambale
<emmanuel.sambale at gmail.com> wrote:
> finally! all images uploaded.
>
> On Tue, Oct 27, 2009 at 6:55 PM, maning sambale
> <emmanuel.sambale at gmail.com> wrote:
>> This url works!
>>
>> http://dev.openstreetmap.org/~gravitystorm/imagery/philippines/
>>
>> On 10/27/09, Andy Allan <gravitystorm at gmail.com> wrote:
>>> It's not a WMS server, it's a tile server, so you need the slippymap plugin.
>>>
>>> http://wiki.openstreetmap.org/wiki/JOSM/Plugins/SlippyMap
>>>
>>> From the (not very clear) instructions there I think you need to edit
>>> the advanced preferences, and the url should be
>>>
>>> http://gravitystorm.dev.openstreetmap.org/imagery/philippines
>>>
>>> Cheers,
>>> Andy
>>>
>>> On Tue, Oct 27, 2009 at 9:22 AM, maning sambale
>>> <emmanuel.sambale at gmail.com> wrote:
>>>> andy,
>>>>
>>>> I tested via potlatch and it seems ok.
>>>> I then pasted this one in josm wms
>>>> http://www.openstreetmap.org/?lat=16.1072&lon=120.5404&zoom=14&layers=B000FTF
>>>>
>>>> But I get exception occured red tiles.
>>>> ava.lang.Exception:
>>>> http://gravitystorm.dev.openstreetmap.org/imagery/philippines/!/!/!.pngbbox=120.5563878,16.1083625,120.5698789,16.1218536&srs=EPSG:4326&width=499&height=499
>>>> Image couldn't be fetched:
>>>> http://dev.openstreetmap.org/~gravitystorm/imagery/philippines/!/!/!.pngbbox=120.5563878,16.1083625,120.5698789,16.1218536&srs=EPSG:4326&width=499&height=499
>>>> at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:70)
>>>> at wmsplugin.Grabber.attempt(Grabber.java:68)
>>>> at wmsplugin.WMSGrabber.run(WMSGrabber.java:48)
>>>> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
>>>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>> at java.lang.Thread.run(Thread.java:613)
>>>>
>>>> I think I pasted the wrong wms url.
>>>>
>>>> On 10/27/09, maning sambale <emmanuel.sambale at gmail.com> wrote:
>>>>> If it's possible at all zoom 18 would be the best for such hi-res area.
>>>>>
>>>>> On Tue, Oct 27, 2009 at 2:21 AM, Andy Allan <gravitystorm at gmail.com>
>>>>> wrote:
>>>>>> Hi Maning,
>>>>>>
>>>>>> See
>>>>>>
>>>>>> http://www.openstreetmap.org/edit?lat=16.09601&lon=120.55866&zoom=15&tileurl=http://dev.openstreetmap.org/~gravitystorm/imagery/philippines/!/!/!.png
>>>>>>
>>>>>> I've completed just one image as the test, I'll be puting more
>>>>>> together later. The tiles are available to zoom 17. I made a small
>>>>>> area available to 18, you can see what it's like at
>>>>>>
>>>>>> http://www.openstreetmap.org/edit?lat=16.111364&lon=120.518244&zoom=18&tileurl=http://dev.openstreetmap.org/~gravitystorm/imagery/philippines/!/!/!.png
>>>>>>
>>>>>> There appears to be a slight offset between the imagery and the
>>>>>> existing OSM data and GPS traces, which is a bit unfortunate. I'll
>>>>>> have a look at that later, but I suspect the imagery isn't 100%
>>>>>> correct.
>>>>>>
>>>>>> Cheers,
>>>>>> Andy
>>>>>>
>>>>>> On Fri, Oct 23, 2009 at 1:54 PM, Andy Allan <gravitystorm at gmail.com>
>>>>>> wrote:
>>>>>>> OK. I've downloaded the first one to use as a test.
>>>>>>>
>>>>>>> I presume the "complete overlaps" are images taken of the same place
>>>>>>> but at different times? If so, I think the main priority is to produce
>>>>>>> just one set of tiles with the most up-to-date imagery. When we have
>>>>>>> that completed, we can look at providing multiple tilesets.
>>>>>>>
>>>>>>> If there are partial overlaps (or similar), it's pretty
>>>>>>> straightforward to handle. I will have a mapnik file that controls the
>>>>>>> order in which they are overlaid one over the other. It's a simple
>>>>>>> case of rearranging the order of the images in that xml file to put
>>>>>>> any particular image on top of the other. I'll get back to you when we
>>>>>>> get to that stage.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Andy
>>>>>>>
>>>>>>> On Fri, Oct 23, 2009 at 2:29 PM, maning sambale
>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>> Here's the list of files:
>>>>>>>> 09OCT17025748-S2AS_R1C1-052236533010_01_P001.TIF OK
>>>>>>>> 09OCT17025748-S2AS_R2C1-052236533010_01_P001.TIF
>>>>>>>> 09AUG22023808-S2AS_R2C1-052236533010_01_P002.TIF
>>>>>>>> 09AUG22023808-S2AS_R1C1-052236533010_01_P002.TIF
>>>>>>>> 09AUG22023808-S2AS_R3C1-052236533010_01_P002.TIF
>>>>>>>> 09AUG22023808-S2AS_R1C2-052236533010_01_P002.TIF
>>>>>>>> 09AUG22023808-S2AS_R2C2-052236533010_01_P002.TIF
>>>>>>>> 09AUG22023808-S2AS_R3C2-052236533010_01_P002.TIF
>>>>>>>> 06APR10025504-S2AS_R1C1-052236533010_01_P004.TIF
>>>>>>>> 06APR10025504-S2AS_R2C1-052236533010_01_P004.TIF
>>>>>>>> 06APR10025504-S2AS_R3C1-052236533010_01_P004.TIF
>>>>>>>> 06APR10025504-S2AS_R3C2-052236533010_01_P004.TIF
>>>>>>>>
>>>>>>>> I will not upload complete overlaps to minimize upload time.
>>>>>>>>
>>>>>>>> On Fri, Oct 23, 2009 at 9:03 PM, maning sambale
>>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>>> andy,
>>>>>>>>>
>>>>>>>>> I'm starting the upload of the images.  So far, one tile is finished,
>>>>>>>>> I will add more tiles in the coming days. A lot of tiles have
>>>>>>>>> complete
>>>>>>>>> overlaps should I add them anyway?  Are we creating separate tiled
>>>>>>>>> service for each date of images? Or just one service?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Oct 22, 2009 at 10:40 PM, maning sambale
>>>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>>>> Thanks! starting to transfer files
>>>>>>>>>> /quickbird_philippine_images
>>>>>>>>>>
>>>>>>>>>> Will add more files a soon as I get them
>>>>>>>>>>
>>>>>>>>>> On Thu, Oct 22, 2009 at 10:35 PM, Andy Allan
>>>>>>>>>> <gravitystorm at gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>> OK - upload to the following:
>>>>>>>>>>>
>>>>>>>>>>> # FTP Username:  maning at thunderflames.org
>>>>>>>>>>> # Password: -SYDUSH2;,qf
>>>>>>>>>>> # FTP Server: ftp.thunderflames.org
>>>>>>>>>>> # FTP Server Port: 21
>>>>>>>>>>>
>>>>>>>>>>> Let me know how you get on!
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Andy
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Oct 22, 2009 at 3:18 PM, maning sambale
>>>>>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>>>>>> no ftp server, I need access to one.
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Oct 22, 2009 at 10:16 PM, Andy Allan
>>>>>>>>>>>> <gravitystorm at gmail.com> wrote:
>>>>>>>>>>>>> Do you have an ftp server of your own, or do you need me to give
>>>>>>>>>>>>> you
>>>>>>>>>>>>> access to one?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Andy
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Oct 22, 2009 at 2:53 PM, maning sambale
>>>>>>>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>>>>>>>> Excellent!  I can send the files via ftp.  I don't digitalglobe
>>>>>>>>>>>>>> will
>>>>>>>>>>>>>> allow multiple downloads from their site.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Thu, Oct 22, 2009 at 9:05 PM, Andy Allan
>>>>>>>>>>>>>> <gravitystorm at gmail.com> wrote:
>>>>>>>>>>>>>>> Yes, absolutely. I've been thinking of the best way to transfer
>>>>>>>>>>>>>>> the files.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 1) If they are available online somewhere that I can get access
>>>>>>>>>>>>>>> to/download from, that's the best way for me to get them
>>>>>>>>>>>>>>> 2) If you have them already, then can you make them available
>>>>>>>>>>>>>>> on
>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>> server somewhere?
>>>>>>>>>>>>>>> 3) If your bandwidth isn't great, can you ship them on DVD or
>>>>>>>>>>>>>>> memory stick?
>>>>>>>>>>>>>>> 4) If none of them are possible, I will set up a server
>>>>>>>>>>>>>>> somewhere
>>>>>>>>>>>>>>> that
>>>>>>>>>>>>>>> you can upload them to
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> What suits best? I will make the tiles and put the results onto
>>>>>>>>>>>>>>> dev.openstreetmap.org for everyone to use.
>>>>>>>>>>>>>> This excellent!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> Andy
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Oct 21, 2009 at 2:58 PM, maning sambale
>>>>>>>>>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>>>>>>>>>> andy,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Is your offer still open?  I am midway finishing the download
>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>> digitalglobe ftp.  The files area really big, around 800 MB
>>>>>>>>>>>>>>>> each
>>>>>>>>>>>>>>>> tile
>>>>>>>>>>>>>>>> and covers around 10 or so tiles.  Unfortunately my PC cannot
>>>>>>>>>>>>>>>> handle
>>>>>>>>>>>>>>>> processing such files at the moment (limited RAM and disk
>>>>>>>>>>>>>>>> space).  Is
>>>>>>>>>>>>>>>> it OK to send you the files and host the TMS?  I can probably
>>>>>>>>>>>>>>>> upload
>>>>>>>>>>>>>>>> the files incrementally so that other OSM-PH mappers can start
>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>> the data.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> maning
>>>>>>>>>>>>>>>> On Wed, Oct 21, 2009 at 12:48 AM, Andy Allan
>>>>>>>>>>>>>>>> <gravitystorm at gmail.com> wrote:
>>>>>>>>>>>>>>>>> On Tue, Oct 20, 2009 at 5:35 PM, maning sambale
>>>>>>>>>>>>>>>>> <emmanuel.sambale at gmail.com> wrote:
>>>>>>>>>>>>>>>>>> Any advice on loading georectfied imagery (very large
>>>>>>>>>>>>>>>>>> geotiff)
>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>> josm/merkaartor/potlatch?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> * Create a mapnik style that has one layer (the geotiff) and
>>>>>>>>>>>>>>>>> one
>>>>>>>>>>>>>>>>> rastersymbolizer
>>>>>>>>>>>>>>>>> * Run generate_tiles.py to make google-projection tiles
>>>>>>>>>>>>>>>>> * Put them on a webserver. They are already in the right
>>>>>>>>>>>>>>>>> folder
>>>>>>>>>>>>>>>>> structure so any webserver will do
>>>>>>>>>>>>>>>>> * You're good to go!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> You can supply extra parameters in the Potlatch url if you
>>>>>>>>>>>>>>>>> want
>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>> direct people to the imagery without having to paste in
>>>>>>>>>>>>>>>>> anything into
>>>>>>>>>>>>>>>>> the custom url box. For a working example, see
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> http://www.openstreetmap.org/edit?lat=52.191248&lon=-1.701483&zoom=18&tileurl=http://andy.sandbox.cloudmade.com/tiles/stratford/!/!/!.png
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'd avoid WMS for this stuff. If you can't get it working I
>>>>>>>>>>>>>>>>> can
>>>>>>>>>>>>>>>>> process it and host the tiles for you.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>> Andy
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> cheers,
>>>>>>>>>>>>>>>> maning
>>>>>>>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>>>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>>>>>>>>>>>>> wiki: http://esambale.wikispaces.com/
>>>>>>>>>>>>>>>> blog: http://epsg4253.wordpress.com/
>>>>>>>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> cheers,
>>>>>>>>>>>>>> maning
>>>>>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>>>>>>>>>>> wiki: http://esambale.wikispaces.com/
>>>>>>>>>>>>>> blog: http://epsg4253.wordpress.com/
>>>>>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> cheers,
>>>>>>>>>>>> maning
>>>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>>>>>>>>> wiki: http://esambale.wikispaces.com/
>>>>>>>>>>>> blog: http://epsg4253.wordpress.com/
>>>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> cheers,
>>>>>>>>>> maning
>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>>>>>>> wiki: http://esambale.wikispaces.com/
>>>>>>>>>> blog: http://epsg4253.wordpress.com/
>>>>>>>>>> ------------------------------------------------------
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> cheers,
>>>>>>>>> maning
>>>>>>>>> ------------------------------------------------------
>>>>>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>>>>>> wiki: http://esambale.wikispaces.com/
>>>>>>>>> blog: http://epsg4253.wordpress.com/
>>>>>>>>> ------------------------------------------------------
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> cheers,
>>>>>>>> maning
>>>>>>>> ------------------------------------------------------
>>>>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>>>>> wiki: http://esambale.wikispaces.com/
>>>>>>>> blog: http://epsg4253.wordpress.com/
>>>>>>>> ------------------------------------------------------
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> cheers,
>>>>> maning
>>>>> ------------------------------------------------------
>>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>>> wiki: http://esambale.wikispaces.com/
>>>>> blog: http://epsg4253.wordpress.com/
>>>>> ------------------------------------------------------
>>>>>
>>>>
>>>>
>>>> --
>>>> cheers,
>>>> maning
>>>> ------------------------------------------------------
>>>> "Freedom is still the most radical idea of all" -N.Branden
>>>> wiki: http://esambale.wikispaces.com/
>>>> blog: http://epsg4253.wordpress.com/
>>>> ------------------------------------------------------
>>>>
>>>
>>
>>
>> --
>> cheers,
>> maning
>> ------------------------------------------------------
>> "Freedom is still the most radical idea of all" -N.Branden
>> wiki: http://esambale.wikispaces.com/
>> blog: http://epsg4253.wordpress.com/
>> ------------------------------------------------------
>>
>
>
>
> --
> cheers,
> maning
> ------------------------------------------------------
> "Freedom is still the most radical idea of all" -N.Branden
> wiki: http://esambale.wikispaces.com/
> blog: http://epsg4253.wordpress.com/
> ------------------------------------------------------
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------




More information about the talk mailing list