Adding Offline Map Data

5 views
Skip to first unread message

cynic64

unread,
May 31, 2007, 3:29:20 AM5/31/07
to PocketWAW
How do you add the "Cities", "Addresses" and "Major Lakes" into
PocketWAW.

I have extracted the directories and copied them across to the SD Card
under "geodata\NZTM", do I have to modify the RaveGeo.xml file at all
for these attributes to be recognised ??

Cheers

Gazza

unread,
May 31, 2007, 11:17:24 AM5/31/07
to PocketWAW

Yes you need to modify the raveGeo.xml file to get them to show up.
In the future I'll try and come up with some way of doing it easier
but for now copy raveGeo.xml to a PC and edit it in a text editor.

The zip files with the data should have contained xml files that you
can copy the bits from. What you need to get are the:

<GeoDataset database ="/SD Card/geodata/NZTM" dataset="Major_Lakes"/>

<GeoDataset database ="/SD Card/geodata/NZTM" dataset="Addresses"/>

<GeoDataset database ="/SD Card/geodata/NZTM" dataset="Cities"/>

Lines towards the top which tell the program where to look for the
data. And then for each layer:

<LabelLayer

dataset="Addresses"

className="addresses"

textAttribute="HOUSE_NUMB"

textColor="@addressColor"

font="Arial-PLAIN-11"

priority="8"

rotated="false"

resolutionFactor="2"

>

</LabelLayer>

<LabelLayer

dataset="Cities"

className="places"

textAttribute="NAME"

textColor="@addressColor"

font="Arial-PLAIN-9"

priority="8"

rotated="false"

resolutionFactor="2"

fixMinLevel="0"

fixMaxLevel="1"

maxScale="1000000"

>

</LabelLayer>

<LabelLayer

dataset="Cities"

className="town"

textAttribute="NAME"

textColor="@addressColor"

font="Arial-PLAIN-9"

priority="8"

rotated="false"

resolutionFactor="2"

fixMinLevel="0"

fixMaxLevel="1"

maxScale="2000000"

>

</LabelLayer>

<LabelLayer

dataset="Cities"

className="loc"

textAttribute="NAME"

textColor="@addressColor"

font="Arial-PLAIN-9"

priority="8"

rotated="false"

resolutionFactor="2"

fixMinLevel="0"

fixMaxLevel="1"

maxScale="500000"

>

</LabelLayer>

Which tells the program how to display the layer.

Any problems send me your RaveGeo.xml file.

Cheers

Gary

Reply all
Reply to author
Forward
0 new messages