Boundary Format

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:35, 11 January 2018 (edit)
Monday (Talk | contribs)

← Previous diff
Current revision (21:14, 21 August 2019) (edit) (undo)
F0urtyfive (Talk | contribs)
m (Reverted edits by Monday (Talk); changed back to last version by Mkpl)
 
Line 1: Line 1:
-hll20180112+This article has been translated from the [[Boundary Format (French)|original article]] in French.
-http://www.outletmichaelkorsonline.us.com+ 
-http://www.coach-outletonlines.us.com+''Note: The usefulness or effectiveness of the altitude in pkg files with World Wind 1.3 is up in the air. See [http://worldwind.arc.nasa.gov/forums/index.php?showtopic=1660&hl= this thread] for details''
-http://www.mulberry-bags.me.uk+==Introduction==
-http://www.ralphlaurensale-clearance.me.uk+The wwb files are used to define boundaries (countries and states), and you can make a pathlist with them using PathListArchiver.exe.
-http://www.adidasnmdr1.us.com+ 
-http://www.ultraboost.us+The pkg and idx files are used to define the pathlist (in 3D).
-http://wwwcanadagoose-uk.com.co+ 
-http://www.longchampoutletus.us.com+This document details the binary formats of these files and thus the associated XML files.
-http://www.philippplein-outlet.com+ 
-http://www.polooutlets.us.org+ 
-http://www.katespadeonlineoutlet.us.com+The types used are:
-http://www.canadagoosesalejackets.us.com+ 
-http://www.hermes.us.org+ int32 32-bit integer
-http://www.ralphlaurensale-clearance.org.uk+ int64 64-bit integer
-http://www.burberry-outlet-canada.ca+ smallint 16-bit integer
-http://www.cheapoakleysunglassesofficial.us.com+
-http://www.cheapraybans.com.co+ Single 1.5 x 10^-45 .. 3.4 x 10^38 4-byte real number
-http://www.air-max2018.us.com+ Double 5.0 x 10^-324 .. 1.7 x 10^308 8-byte real number
-http://www.red-bottoms.us.com+
-http://www.pandorajewelrypandora.us.com+ Pstring string : A byte indicating the length of the string followed by characters
-http://www.yeezyboost-350.us.com+ 
-http://www.canadagoosejacketscanada.ca+The altitudes are important, they allow the paths to float above the terrain, otherwise they disappear within the mountains.
-http://www.uggbootsonline.us+ 
-http://www.canadagoosesaleoutlet.us.com+==wwb Format==
-http://www.uggbootswomen.us.com+ 
-http://wwwcanadagoose-jacketsuk.com.co+The file begins with a 32-bit integer containing the number of entries in the file. The file continues with a series of entries consisting of a float latitude and float longitude.
-http://www.polooutlet.in.net+ 
-http://www.canadagooseoutletus.us.com+ int32 number of pairs (latitude, longitude) in the file
-http://www.airmax-2018.com+
-http://www.adidasyeezyboost-350.us.com+ // entry 1
-http://www.hermes-handbags.us+
-http://www.michaelkorsoutlet.us.org+ single latitude
-http://www.cheapnfljerseysnflwholesale.us.com+ single longitude
-http://www.uggsboots.name+
-http://www.adidas-yeezyshoes.us.com+ // entry 2
-http://www.ralphlauren-outlet.me.uk+
-http://www.ralphlauren.me.uk+ single latitude
-http://www.pandora.us.com+ single longitude
-http://www.michaelkorsfactoryoutletsale.us.com+ 
-http://www.pandora-charms.us.org+ 
-http://www.uggsoutletonlines.us.com+==IDX Format==
-http://www.timberland-outlets.us+The file begins with the number of wwb files associated in a 32-bit integer. Next is an entry for each wwb file. Each entry consists of a string, the west, south, east, and north limits in a double, and a 64-bit integer for the offset of the data in the pkg file.
-http://www.cheapnfljerseysofficial.us.com+ 
-http://www.harden-vol1.com+ int32 Number of wwb files = Number of groups in this package
-http://www.uggoutletstore.name+
-http://www.toryburchoutletonline.com.co+ // wwb file 1 (wwb offset 1)
-http://www.polo-ralphlauren.in.net+
-http://www.canadagooseoutlet.name+ PString name of a wwb file, a string
-http://www.ralphlaurenoutlet.in.net+ double west
-http://www.michael-korsoutlet.ca+ double south
-http://www.uggoutletonline.name+ double east
-http://www.cheapjordans.in.net+ double north
-http://www.nikeoutlet.us.com+ Int64 offset wwb 1 = offset of data in pkg file
-http://www.nikeairmax.in.net+
-http://www.uggs-boots.us.org+ // wwb file 2 (wwb offset 2)
-http://www.yeezyboost.org.uk+
-http://www.nike-store.us.com+ PString name of a wwb file, a string
-http://www.uggsaustralia.fr+ double west
-http://www.uggsoutlet.cc+ double south
-http://www.coachfactoryoutlet-storeonline.us.com+ double east
-http://www.moncler-outlet.us.org+ double north
-http://www.air-jordans.us.com+ Int64 offset wwb 1 = offset of data in pkg file
-http://www.pandoracharms.us.com+
-http://www.oakley.nom.co+ // wwb file 3 (wwb offset 3)
-http://www.coachhandbagsoutlet.us.com+ ...
-http://www.moncleroutlets.us.org+ 
-http://www.uggscanadaugg.ca+==pkg format==
-http://www.christianlouboutinoutlet.us+The file contains a list of the entries containing the coordinates of each of the associated wwb files. Every description starts with a 32-bit number indicating the number of entries in the section, followed by the number of elements per entry (3 for latitude, longitude and altitude). Next are the list of entries (lat, long, h).
-http://www.outletlouisvuitton.us.com+ 
-http://www.jordanretro.name+ // wwb file 1 (wwb offset 1)
-http://www.guccihandbagsoutlet.us.com+
-http://www.oakleysunglassesforwomen.us.com+ int32 number of entries (lat, long, h)
-http://www.michael-korshandbags.me.uk+ byte number of elements per entry = 3 (lat, long, h)
-http://www.outletuggoutlet.us.com+
-http://www.uggs-boots.fr+ // entry 1
-http://www.salvatoreferragamoshoes.us.com+ double lat
-http://www.katespadeoutletstoreonline.us.com+ double long
-http://www.canadagoosejacketssale.com.co+ smallint h (16 bits)
-http://www.canadagooseukjackets.me.uk+
-http://www.nikezoom.us+ // entry 2
-http://www.airmax-97.us+ double lat
-http://www.uggoutlet-store.us+ double long
-http://www.canadagooseoutlet-jackets.us+ smallint h (16 bits)
-http://www.timberlandbootsoutlets.us.com+
-http://www.coachoutlet-onlinesale.us.com+ ...
-http://www.raybansunglasses.net.co+
-http://www.ralph-laurenoutlet.com.co+ // wwb file 2 (wwb 2)
-http://www.pandoracharmssaleclearance.uk+
-http://www.canadagooseoutletjackets.com.co+ int32 number of entries (lat, long, h)
-http://www.mbtshoessale.us.com+ byte number of elements per entry = 3 (lat, long, h)
-http://www.coachoutletstoreonline.com.co+
-http://www.adidasnmd-shoes.us+ // entry 1
-http://www.kate-spade.us.com+ double lat
-http://www.louisvuittonoutlet.us.org+ double long
-http://www.michaelkorsoutletclearance.in.net+ smallint h (16 bits)
-http://www.adidasshoe.us.com+
-http://www.canadagooseoutletjackets.us+ // entry 2
-http://www.michaelkorsoutletonlinemichaelkors.us.com+ double lat
-http://www.uggsoutletclearance.us.com+ double long
-http://www.canadagoose-outlet.name+ smallint h (16 bits)
-http://www.canadagoosejacketsoutlet.name+
-http://www.ralphlaurenoutletonline-polo.us.com+ ...
-http://www.adidas-nmd.us.com+
-http://www.adidasnmd.us.org+ // wwb file 3
-http://www.katespade.in.net+ ...
-http://www.louboutinshoes.in.net+ 
-http://www.monclerjacketsoutlet.in.net+==Example of the XML file associated with a pathlist==
-http://www.uggsoutletstoreonline.us.com+ <?xml version="1.0" encoding="UTF-8"?>
-http://www.hermesbirkin.in.net+ <!-- commentaire -->
-http://www.adidas-shoes.us.com+ <LayerSet Name="" ShowOnlyOneLayer="false" ShowAtStartup="false"
-http://www.poloralphlaurenoutletonline.us.com+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-http://www.michaelkors-outlet.ca+ xsi:noNamespaceSchemaLocation="C:\WorldWind\bin\Debug\Configuration\EarthLayers\LayerSet.xsd">
-http://www.coachfactory-outletonline.us.org+ <PathList ShowAtStartup="true">
-http://www.nikeoutlet.in.net+ <Name>Trail</Name>
-http://www.uggsbootsonline.us.com+ <DistanceAboveSurface>1000</DistanceAboveSurface>
-http://www.cheapmlbjerseyschina.us.com+ <MinDisplayAltitude>0</MinDisplayAltitude>
-http://www.oakleysunglassessalecheap.us.com+ <MaxDisplayAltitude>6000000</MaxDisplayAltitude>
-http://www.katespadehandbagsclearance.us.com+ <PathsDirectory>Data\WorldWindow.Earth\monchemin</PathsDirectory>
-http://www.nikeshoes.in.net+ <WinColorName>Cyan</WinColorName>
-http://www.fitflopssale-clearance.us.org+ </PathList>
-http://www.longchamp-outlet.us.com+ </LayerSet>
-http://www.pandoracharms.name+ 
-http://www.outletcanadagoose.us+The folder Data\WorldWindow.Earth\monchemin contains a file pathlist.pkg and a file pathlist.idx that define the path.
-http://www.airmax-97.us.com+ 
-http://www.raybansunglassessalecheap.us.com+==External link==
-http://www.uggbootssales.us.com+[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingknowncolorclasstopic.asp Windows System Colors] - for WinColorName
-http://www.cheapoakleysunglasses.com.co+ 
-http://www.coachoutlet-online.us.org+[[Category:Data_Formats]]
-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+

Current revision

This article has been translated from the original article in French.

Note: The usefulness or effectiveness of the altitude in pkg files with World Wind 1.3 is up in the air. See this thread for details

Contents

[edit] Introduction

The wwb files are used to define boundaries (countries and states), and you can make a pathlist with them using PathListArchiver.exe.

The pkg and idx files are used to define the pathlist (in 3D).

This document details the binary formats of these files and thus the associated XML files.


The types used are:

int32		32-bit integer
int64		64-bit integer
smallint	16-bit integer

Single	1.5 x 10^-45 .. 3.4 x 10^38	4-byte real number
Double	5.0 x 10^-324 .. 1.7 x 10^308	8-byte real number

Pstring	string : A byte indicating the length of the string followed by characters

The altitudes are important, they allow the paths to float above the terrain, otherwise they disappear within the mountains.

[edit] wwb Format

The file begins with a 32-bit integer containing the number of entries in the file. The file continues with a series of entries consisting of a float latitude and float longitude.

int32	number of pairs (latitude, longitude) in the file

// entry 1

single	latitude	
single	longitude

// entry 2

single	latitude	
single	longitude


[edit] IDX Format

The file begins with the number of wwb files associated in a 32-bit integer. Next is an entry for each wwb file. Each entry consists of a string, the west, south, east, and north limits in a double, and a 64-bit integer for the offset of the data in the pkg file.

int32	Number of wwb files = Number of groups in this package

// wwb file 1 (wwb offset 1)

PString	name of a wwb file, a string
double	west
double	south
double	east
double	north
Int64	offset wwb 1 = offset of data in pkg file

// wwb file 2 (wwb offset 2)

PString	name of a wwb file, a string
double	west
double	south
double	east
double	north
Int64	offset wwb 1 = offset of data in pkg file

// wwb file 3 (wwb offset 3)
...

[edit] pkg format

The file contains a list of the entries containing the coordinates of each of the associated wwb files. Every description starts with a 32-bit number indicating the number of entries in the section, followed by the number of elements per entry (3 for latitude, longitude and altitude). Next are the list of entries (lat, long, h).

// wwb file 1 (wwb offset 1)

int32	number of entries (lat, long, h)
byte	number of elements per entry = 3 (lat, long, h)

// entry 1
double	lat
double	long
smallint	h (16 bits)

// entry 2
double	lat
double	long
smallint	h (16 bits)

...

// wwb file 2  (wwb 2)

int32	number of entries (lat, long, h)
byte	number of elements per entry = 3 (lat, long, h)

// entry 1
double	lat
double	long
smallint	h (16 bits)

// entry 2
double	lat
double	long
smallint	h (16 bits)

...

// wwb file 3
...

[edit] Example of the XML file associated with a pathlist

<?xml version="1.0" encoding="UTF-8"?>
<LayerSet Name="" ShowOnlyOneLayer="false" ShowAtStartup="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\WorldWind\bin\Debug\Configuration\EarthLayers\LayerSet.xsd">
<PathList ShowAtStartup="true">
<Name>Trail</Name>
<DistanceAboveSurface>1000</DistanceAboveSurface>
<MinDisplayAltitude>0</MinDisplayAltitude>
<MaxDisplayAltitude>6000000</MaxDisplayAltitude>
<PathsDirectory>Data\WorldWindow.Earth\monchemin</PathsDirectory>
<WinColorName>Cyan</WinColorName>
</PathList>
</LayerSet>

The folder Data\WorldWindow.Earth\monchemin contains a file pathlist.pkg and a file pathlist.idx that define the path.

[edit] External link

Windows System Colors - for WinColorName

Personal tools