Making Layers
From World Wind Wiki
(Difference between revisions)
Revision as of 08:35, 11 January 2018 (edit) Monday (Talk | contribs) ← Previous diff |
Revision as of 11:28, 24 February 2018 (edit) (undo) Bull (Talk | contribs) m (Reverted edits by Monday (Talk); changed back to last version by Mkpl) Next diff → |
||
Line 1: | Line 1: | ||
- | hll20180112 | + | This is the beginning of an attempt to try to document a process so people that have GeoTIFF's can produce and maybe even serve up data for WorldWind. If you have any insights or info please add on. |
- | http://www.outletmichaelkorsonline.us.com | + | |
- | http://www.coach-outletonlines.us.com | + | ==Things We Know== |
- | http://www.mulberry-bags.me.uk | + | #WW's tiling scheme: [http://www.ceteranet.com/nww-tile-struct.pdf], [http://issues.worldwind.arc.nasa.gov/confluence/download/attachments/394/world+wind+tile+systemt.gif]. |
- | http://www.ralphlaurensale-clearance.me.uk | + | #Formula to go from Lat/Long to WW tile numbers. |
- | http://www.adidasnmdr1.us.com | + | #Nowak has a C program that uses GDAL to do this and he has another progam that packs them up so you dont have to manage zillions of files + a little PHP script to extract the correct tile from the image pyramid. Nowak released source code to DSTile (the tiler) and TilePack (packs up tiles into a image pyramid) as Open Source (BSD licensed). |
- | http://www.ultraboost.us | + | ##[http://2bn.net/files/2/dstileww.zip Dstile and TilePack] (src) |
- | http://wwwcanadagoose-uk.com.co | + | ##'''[http://whatnick.dyndns.org:8080/tisham/dstile-0.2_win32_whatnickpatches.zip Dstile with what_nick's patches (13-08-2007)]''' + [http://whatnick.dyndns.org:8080/tisham/DsTileQtGUI.zip Dstile GUI] (bin) |
- | http://www.longchampoutletus.us.com | + | #What if you were to call dstile dynamically from inside WorldWind? Urobots [http://www.urbanrobots.com/Blogs/WW/2006/01/dynamic-qts.html talks about how to do this in his blog]. what_nick has been working on a dstile version that can be run as a plugin in WW ([http://forum.worldwindcentral.com/showthread.php?t=9205 forum thread], the code is in [[Source code|SVN]]) |
- | http://www.philippplein-outlet.com | + | #Lucians OnEarth code for Apache to 'sniff' WorldWind requests, pass the request off to WMS (if needed) and cache the tiles if they are not already cached [http://www.vso.cape.com/~nhv/files/cache_1_1.tgz download] + a few [[data serving scripts]] |
- | http://www.polooutlets.us.org | + | #A [[Dstile howto]] on creating your own tiled imagery layer and putting it in your cache. |
- | http://www.katespadeonlineoutlet.us.com | + | |
- | http://www.canadagoosesalejackets.us.com | + | ==Things We Know We Don't Know== |
- | http://www.hermes.us.org | + | #How does altitude relate to a level in a layer being displayed? |
- | http://www.ralphlaurensale-clearance.org.uk | + | #How does <TileSize> and <Level0TileDegrees> affect #1? |
- | http://www.burberry-outlet-canada.ca | + | #When do you know when to 'stop'? (ie. how do you know you are at 1:1) |
- | http://www.cheapoakleysunglassesofficial.us.com | + | #Even though L0TD == 2.25, how do we get larger tiles when viewing the whole earth? |
- | http://www.cheapraybans.com.co | + | |
- | http://www.air-max2018.us.com | + | Some answers came [[Layers_Levels_Tiles_etc|here]] |
- | http://www.red-bottoms.us.com | + | |
- | http://www.pandorajewelrypandora.us.com | + | ==The Procedure for Making (As Far As I understand It Right Now)== |
- | http://www.yeezyboost-350.us.com | + | #Obtain a georeferenced geotiff and reproject it to EPSG:4326. (or reproject with 'gdalwarp' in step 3 as you go along)(note: for those crusty-brained barnacle heads, ESPG:4326 = WGS84, and NAD83 is supposedly generally equivalent- check to verify before you take my word for it, though) |
- | http://www.canadagoosejacketscanada.ca | + | #Get the bounds of the GTiff. |
- | http://www.uggbootsonline.us | + | #Take the lower left bounds and round to the nearest multiple of L0TD for lat and lon. |
- | http://www.canadagoosesaleoutlet.us.com | + | #Extract a L0TD sized chunk of the GeoTIFF starting at the coordinates of #3.. |
- | http://www.uggbootswomen.us.com | + | #Resample the chunk to <TileSize>(scale it to 512x512px or whatever tilesize you pick) and convert to image format of choice. |
- | http://wwwcanadagoose-jacketsuk.com.co | + | #Place it in the correct directory and rename the tile according to the naming formula. <insert naming formula here> |
- | http://www.polooutlet.in.net | + | #Iterate in L0TD sized chunks over the entire TIFF till you have covered the upper and right side bounds. |
- | http://www.canadagooseoutletus.us.com | + | #Divide L0TD by 2, and start over with #3 |
- | http://www.airmax-2018.com | + | #Stop when you are at 1:1 scale (ie your L0TD sized chunk is less than <TileSize> in one of the dimensions. |
- | http://www.adidasyeezyboost-350.us.com | + | |
- | http://www.hermes-handbags.us | + | [[Category:Dev Documentation]] |
- | http://www.michaelkorsoutlet.us.org | + | |
- | http://www.cheapnfljerseysnflwholesale.us.com | + | |
- | http://www.uggsboots.name | + | |
- | http://www.adidas-yeezyshoes.us.com | + | |
- | http://www.ralphlauren-outlet.me.uk | + | |
- | http://www.ralphlauren.me.uk | + | |
- | http://www.pandora.us.com | + | |
- | http://www.michaelkorsfactoryoutletsale.us.com | + | |
- | http://www.pandora-charms.us.org | + | |
- | http://www.uggsoutletonlines.us.com | + | |
- | http://www.timberland-outlets.us | + | |
- | http://www.cheapnfljerseysofficial.us.com | + | |
- | http://www.harden-vol1.com | + | |
- | http://www.uggoutletstore.name | + | |
- | http://www.toryburchoutletonline.com.co | + | |
- | http://www.polo-ralphlauren.in.net | + | |
- | http://www.canadagooseoutlet.name | + | |
- | http://www.ralphlaurenoutlet.in.net | + | |
- | http://www.michael-korsoutlet.ca | + | |
- | http://www.uggoutletonline.name | + | |
- | http://www.cheapjordans.in.net | + | |
- | http://www.nikeoutlet.us.com | + | |
- | http://www.nikeairmax.in.net | + | |
- | http://www.uggs-boots.us.org | + | |
- | http://www.yeezyboost.org.uk | + | |
- | http://www.nike-store.us.com | + | |
- | http://www.uggsaustralia.fr | + | |
- | http://www.uggsoutlet.cc | + | |
- | http://www.coachfactoryoutlet-storeonline.us.com | + | |
- | http://www.moncler-outlet.us.org | + | |
- | http://www.air-jordans.us.com | + | |
- | http://www.pandoracharms.us.com | + | |
- | http://www.oakley.nom.co | + | |
- | http://www.coachhandbagsoutlet.us.com | + | |
- | http://www.moncleroutlets.us.org | + | |
- | http://www.uggscanadaugg.ca | + | |
- | http://www.christianlouboutinoutlet.us | + | |
- | http://www.outletlouisvuitton.us.com | + | |
- | http://www.jordanretro.name | + | |
- | http://www.guccihandbagsoutlet.us.com | + | |
- | http://www.oakleysunglassesforwomen.us.com | + | |
- | http://www.michael-korshandbags.me.uk | + | |
- | http://www.outletuggoutlet.us.com | + | |
- | http://www.uggs-boots.fr | + | |
- | http://www.salvatoreferragamoshoes.us.com | + | |
- | http://www.katespadeoutletstoreonline.us.com | + | |
- | http://www.canadagoosejacketssale.com.co | + | |
- | http://www.canadagooseukjackets.me.uk | + | |
- | http://www.nikezoom.us | + | |
- | http://www.airmax-97.us | + | |
- | http://www.uggoutlet-store.us | + | |
- | http://www.canadagooseoutlet-jackets.us | + | |
- | http://www.timberlandbootsoutlets.us.com | + | |
- | http://www.coachoutlet-onlinesale.us.com | + | |
- | http://www.raybansunglasses.net.co | + | |
- | http://www.ralph-laurenoutlet.com.co | + | |
- | http://www.pandoracharmssaleclearance.uk | + | |
- | http://www.canadagooseoutletjackets.com.co | + | |
- | http://www.mbtshoessale.us.com | + | |
- | http://www.coachoutletstoreonline.com.co | + | |
- | http://www.adidasnmd-shoes.us | + | |
- | http://www.kate-spade.us.com | + | |
- | http://www.louisvuittonoutlet.us.org | + | |
- | http://www.michaelkorsoutletclearance.in.net | + | |
- | http://www.adidasshoe.us.com | + | |
- | http://www.canadagooseoutletjackets.us | + | |
- | http://www.michaelkorsoutletonlinemichaelkors.us.com | + | |
- | http://www.uggsoutletclearance.us.com | + | |
- | http://www.canadagoose-outlet.name | + | |
- | http://www.canadagoosejacketsoutlet.name | + | |
- | http://www.ralphlaurenoutletonline-polo.us.com | + | |
- | http://www.adidas-nmd.us.com | + | |
- | http://www.adidasnmd.us.org | + | |
- | http://www.katespade.in.net | + | |
- | http://www.louboutinshoes.in.net | + | |
- | http://www.monclerjacketsoutlet.in.net | + | |
- | http://www.uggsoutletstoreonline.us.com | + | |
- | http://www.hermesbirkin.in.net | + | |
- | http://www.adidas-shoes.us.com | + | |
- | http://www.poloralphlaurenoutletonline.us.com | + | |
- | http://www.michaelkors-outlet.ca | + | |
- | http://www.coachfactory-outletonline.us.org | + | |
- | http://www.nikeoutlet.in.net | + | |
- | http://www.uggsbootsonline.us.com | + | |
- | http://www.cheapmlbjerseyschina.us.com | + | |
- | http://www.oakleysunglassessalecheap.us.com | + | |
- | http://www.katespadehandbagsclearance.us.com | + | |
- | http://www.nikeshoes.in.net | + | |
- | http://www.fitflopssale-clearance.us.org | + | |
- | http://www.longchamp-outlet.us.com | + | |
- | http://www.pandoracharms.name | + | |
- | http://www.outletcanadagoose.us | + | |
- | http://www.airmax-97.us.com | + | |
- | http://www.raybansunglassessalecheap.us.com | + | |
- | http://www.uggbootssales.us.com | + | |
- | http://www.cheapoakleysunglasses.com.co | + | |
- | http://www.coachoutlet-online.us.org | + | |
- | http://www.michaelkorsoutletshopping.us.com | + | |
- | http://www.ralphlaurenoutletpolo.org.uk | + | |
- | http://www.canadiangoose.us.com | + | |
- | http://www.pandora-outlet.us.com | + | |
- | http://www.jordanshoesforsale.us.com | + | |
- | http://www.michaelkorsoutlet1.us.com | + | |
- | http://www.ralph-laurenoutlet.org.uk | + | |
- | http://www.ralph-laurenuk.org.uk | + | |
- | http://www.coach-outletonline.us.org | + | |
- | http://www.timberlandbootsoutlet.us.com | + | |
- | http://www.raybansunglasse.com | + | |
- | http://www.adidas-superstar.us.com | + | |
- | http://www.northface-jackets.us.com | + | |
- | http://www.coachoutletcanada.ca | + | |
- | http://www.canadagooseukjackets.org.uk | + | |
- | http://www.michael-korsoutlets.us.com | + | |
- | http://www.ralphlaurenoutletsale.us.com | + | |
- | http://www.nikeshoes.us.com | + | |
- | http://www.supremeclothing.us.org | + | |
- | http://www.thenorthfacejacketsoutlet.us.com | + | |
- | http://www.monclerjacketsuk.org.uk | + | |
- | http://www.uggoutletonlines.us | + | |
- | http://www.doudounemonclerpascher.fr | + | |
- | http://www.coachoutletus.us.com | + | |
- | http://www.outletcoachoutlet.us.com | + | |
- | http://www.ugg-boots.net.co | + | |
- | http://www.airjordanshoes.in.net | + | |
- | http://www.cheapjordans-shoes.us.com | + | |
- | http://www.cheapjordanshoes.us.com | + | |
- | http://www.raybanssunglassesoutlet.us.com | + | |
- | http://www.moncleroutlet.me.uk | + | |
- | http://www.michaelkorsoutlet.co.uk | + | |
- | http://www.uggbootsoutletstores.us.com | + | |
- | http://www.oakley--sunglasses.us.org | + | |
- | http://www.louisvuitton-outlet.us.com | + | |
- | http://www.cheapjordan-shoes.in.net | + | |
- | http://www.uggsoutletus.us.com | + | |
- | http://www.adadassuperstar.com | + | |
- | http://www.cheapjordans.com.co | + | |
- | http://www.catboots.us | + | |
- | http://www.ralphlaurenoutletmalls.us.com | + | |
- | http://www.vuittonlouis.us.com | + | |
- | http://www.cheapuggs.com.co | + | |
- | http://www.burberryoutlet.in.net | + | |
- | http://www.christianlouboutinshoes.us.org | + | |
- | http://www.michaelkorsoutletonlineclearance.in.net | + | |
- | http://www.outletcoachonline.us.com | + | |
- | http://ugg.bootsoutlet.us.com | + | |
- | http://www.valentinoshoesoutlets.us.com | + | |
- | http://www.pandoracharmssale-clearance.us.com | + | |
- | http://www.fitflopssale.us.com | + | |
- | http://www.nfljerseyscheapwholesale.us.com | + | |
- | http://www.coach-factory-outlet.us.org | + | |
- | http://www.yeezyboost.us.com | + | |
- | http://www.thenorthface.us.com | + | |
- | http://www.2017nikeairmax.us | + | |
- | http://www.monclerjacketssale.us.com | + | |
- | http://www.supremenewyork.us.com | + | |
- | http://www.coachfactoryonlineoutlet.com.co | + | |
- | http://www.coach-factoryoutletonline.us.org | + | |
- | http://www.pandorastore.us.com | + | |
- | http://www.ralphlauren-outletpolo.us.com | + | |
- | http://www.coachoutletonlinecoachfactoryoutlet.us.com | + | |
- | http://www.coach-factoryoutlet-online.us.com | + | |
- | http://www.ugg-outlets.us | + | |
- | http://www.canadagoosejacketscoats.org.uk | + | |
- | http://www.fredperrypoloshirts.us | + | |
- | http://www.adidascampusshoes.us | + | |
- | http://www.coachoutletmalls.us.com | + | |
- | http://www.canadagoosejackets-outlet.us | + | |
- | http://wwwmonclerjacketsuk.com.co | + | |
- | http://www.ugg-outletstores.us.com | + | |
- | http://www.ferragamo-outlet.us.com | + | |
- | http://www.adidas.us.com | + | |
- | http://www.redbottomsshoes.us.com | + | |
- | http://www.burberry.us.com | + | |
- | http://www.canadagoosejacketsofficial.us.com | + | |
- | http://www.korsmichaeloutlet.us.com | + | |
- | http://www.coachoutletsonlines.us.com | + | |
- | http://www.michael-kors-handbags.us.org | + | |
- | http://www.airjordans.us.com | + | |
- | http://www.canadagooseoutletjackets.us.com | + | |
- | http://www.supreme-clothing.us.com | + | |
- | http://www.uggsbootscanada.ca | + | |
- | http://www.pandora-jewelryoutlet.us.com | + | |
- | http://www.longchamphandbagsuk.org.uk | + | |
- | http://www.coachfactory-outletstore.us.com | + | |
- | http://www.poloralphlaurenoutletpolo.us.com | + | |
- | http://www.uggoutlet-clearance.us.com | + | |
- | http://www.uggbootsoutletsale.us.com | + | |
- | http://www.northfacejacketssale.us.com | + | |
- | http://www.canadagooseoutletcanada.com.co | + | |
- | http://www.columbiasportswear.us.com | + | |
- | http://www.canadagoosesoutlet.ca | + | |
- | http://www.canadagooseoutletjackets.ca | + | |
- | http://www.coachoutletstoreonlineclearances.in.net | + | |
- | http://www.burberryoutletsale.com.co | + | |
- | http://www.cheapuggssale.com.co | + | |
- | http://www.mulberryoutlet.org.uk | + | |
- | http://www.coach-outlets.us.com | + | |
- | http://www.hermesbag.us.com | + | |
- | http://www.yeezyboost-350.co.uk | + | |
- | http://www.northfaceoutlet.us.com | + | |
- | http://www.supremeclothing.org.uk | + | |
- | http://www.uggsoutlets.name | + | |
- | http://www.adidas-yeezyboost.us.com | + | |
- | http://www.coachfactory-outlet.us.com | + | |
- | http://www.canadagooseoutlets.us | + | |
- | http://www.adidas-outlet.us.com | + | |
- | http://www.canadagooseclothing.us.com | + | |
- | http://www.michaelkorsoutlets.us.com | + | |
- | http://www.rayban-sunglasseoutlet.us.com | + | |
- | http://www.northfacejacketsoutlet.com.co | + | |
- | http://www.birkenstocks.us | + | |
- | http://www.philipppleinshirt.com | + | |
- | http://www.jacketscanadagoose.org.uk | + | |
- | http://www.fitflops-sale-clearance.us.com | + | |
- | http://www.cheapuggs.net.co | + | |
- | http://www.adidasoutlet.us.com | + | |
- | http://www.canadagooseoutletonlines.us | + | |
- | http://www.uggsbootsaustralia.us.com | + | |
- | http://www.coachfactoryoutletsonlines.us.com | + | |
- | http://www.coachoutlets.us.org | + | |
- | http://www.cheapuggboots.us.com | + | |
- | http://www.michael-korsoutlet.us.com | + | |
- | http://www.moncler-outlets.us.com | + | |
- | http://www.pandoracharms-uk.org.uk | + | |
- | http://www.pandoracharms.com.co | + | |
- | http://www.uggs-boots.us | + | |
- | http://www.adidasyeezyshoes.us.com | + | |
- | http://www.canadagooseoutletstores.us | + | |
- | http://www.nikeoutletonline.us.com | + | |
- | http://www.uggshoes.us.com | + | |
- | http://www.coachcanadaoutlet.ca | + | |
- | http://www.mbtshoes.name | + | |
- | http://www.pandorajewelryoutlet.in.net | + | |
- | http://www.cheapuggs-boots.us.com | + | |
- | http://www.outletcanadagooseoutlet.us.com | + | |
- | http://www.moncleroutletonlines.us.com | + | |
- | http://www.guccioutlets.us.org | + | |
- | http://www.uggoutlets.name | + | |
- | hll20180112 | + |
Revision as of 11:28, 24 February 2018
This is the beginning of an attempt to try to document a process so people that have GeoTIFF's can produce and maybe even serve up data for WorldWind. If you have any insights or info please add on.
Things We Know
- WW's tiling scheme: [1], [2].
- Formula to go from Lat/Long to WW tile numbers.
- Nowak has a C program that uses GDAL to do this and he has another progam that packs them up so you dont have to manage zillions of files + a little PHP script to extract the correct tile from the image pyramid. Nowak released source code to DSTile (the tiler) and TilePack (packs up tiles into a image pyramid) as Open Source (BSD licensed).
- What if you were to call dstile dynamically from inside WorldWind? Urobots talks about how to do this in his blog. what_nick has been working on a dstile version that can be run as a plugin in WW (forum thread, the code is in SVN)
- Lucians OnEarth code for Apache to 'sniff' WorldWind requests, pass the request off to WMS (if needed) and cache the tiles if they are not already cached download + a few data serving scripts
- A Dstile howto on creating your own tiled imagery layer and putting it in your cache.
Things We Know We Don't Know
- How does altitude relate to a level in a layer being displayed?
- How does <TileSize> and <Level0TileDegrees> affect #1?
- When do you know when to 'stop'? (ie. how do you know you are at 1:1)
- Even though L0TD == 2.25, how do we get larger tiles when viewing the whole earth?
Some answers came here
The Procedure for Making (As Far As I understand It Right Now)
- Obtain a georeferenced geotiff and reproject it to EPSG:4326. (or reproject with 'gdalwarp' in step 3 as you go along)(note: for those crusty-brained barnacle heads, ESPG:4326 = WGS84, and NAD83 is supposedly generally equivalent- check to verify before you take my word for it, though)
- Get the bounds of the GTiff.
- Take the lower left bounds and round to the nearest multiple of L0TD for lat and lon.
- Extract a L0TD sized chunk of the GeoTIFF starting at the coordinates of #3..
- Resample the chunk to <TileSize>(scale it to 512x512px or whatever tilesize you pick) and convert to image format of choice.
- Place it in the correct directory and rename the tile according to the naming formula. <insert naming formula here>
- Iterate in L0TD sized chunks over the entire TIFF till you have covered the upper and right side bounds.
- Divide L0TD by 2, and start over with #3
- Stop when you are at 1:1 scale (ie your L0TD sized chunk is less than <TileSize> in one of the dimensions.