OpenStreetMap logo OpenStreetMap

Post When Comment
Please help with Prishtina DXF Import

I have been able to filter out the streets from the osm file :

http://pastebin.com/f30aa460b

Just start with the layer :"BOUNDARIES.OTHER"

That contains most of the streets. There are other layers contains the string "rruges" meaning roads.

Reverse engineering GPS map formats

http://en.wikipedia.org/wiki/Navigon is a german company.

I have done some searching,
http://en.wikipedia.org/wiki/Map_database_management

The file format is *.map.

You can see there are many torrents out there with these maps, for example the a file name in the torrent is "Bosnia and Herzegovina_Q3_2008.map"

Here is a way to download pois to your navigon:
http://poiplaza.com/?p=cm_na

"you need a asc and bmp files for via PoiWarner"
"Generic CSV is what you want, the navigon will make the proper conversion upon boot up."
http://www.poi-factory.com/node/13250

The asc file looks like this :
19.81910, 41.32800, Europcar, AL-Tirana Airport, +355 6 82093908

you can get a sample here:
http://poiplaza.com/download/zipfiles/3522/AL-Europcar_Navigon_Becker.zip

The navigon fresh download looks like this :
NAVIGON|GoetheRad :Fahrradverleih am Goetheturm|DEU|60599|Frankfurt am Main |Sachsenhäuser Landwehrweg|1|8.708896|50.089447

http://www.navigon.com/site/de/de/maps_services/web2pnd/transfer?cmd=favorite&apiversion=1&poiname=GoetheRad+%3AFahrradverleih+am+Goetheturm&geocoordinates=8.708896;50.089447&country=DEU&company=NAVIGON&street=Sachsenh%C3%A4user+Landwehrweg&zipcode=60599&city=Frankfurt+am+Main+&url=http%3A%2F%2Fwww.navigon.com&streetnumber=1

Please help with Prishtina DXF Import

It is uploaded now!

Please help with Prishtina DXF Import

Ok, I have uploaded the parts after being converted to osm
http://www.archive.org/details/PrishtinaStreetsOSM

the splitter script is also attached. I also shifted the points over to the right by 0.00016.

Please help with Prishtina DXF Import

http://picasaweb.google.com/Andrew.T.Finney/Prishtina#5431506018759127954

Please help with Prishtina DXF Import

Thank you very much Andrew,
http://www.archive.org/details/PrishtinaOpensourceMap

Any ideas why this diary entry is awry?

It is ok now. there were the bad formatting that I pasted. Thanks to TomH for fixing it!

Please help with Prishtina DXF Import

I am in Offenbach germany,
you can use ftp directly.
mike

Please help with Prishtina DXF Import

I never had a problem with archive.org, you can see some videos on how to use it here:
http://www.youtube.com/watch?v=0PE1b0FujyU
http://www.youtube.com/watch?v=AeKTHP6ty_Q

Please help with Prishtina DXF Import

you can post unlimited data for all eternity on archive.org
http://www.archive.org/account/login.createaccount.php

Please help with Prishtina DXF Import

using this tool :
http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html

lat 42.6628371 , long 21.1567513
=>
x=512846.1776844547
y=4723386.444431229
zone=34

Please help with Prishtina DXF Import

Here is a list of layers extracted from the dxf:

0
0_korniza-rrjeti
1
2
3
4
5
7
antena
A-Photo-Kadastri
BL-I
BL-II
BL-III
BL-IV
BL-IX
BL-IX-1
BL-V
BL-VI
BL-VII
BL-VII-1
BL-VII-2
BL-VIII
BL-X
BL-XI
BL-XII
BL-XII-1
BL-XII-2
BL-XIII
BL-XIV
BL-XV
BOUNDARIES_COMMUNITY
BOUNDARIES_OTHER
BOUNDARIES_OTHERS
BOUNDARIES_PARCELS
Branches
BUILDINGS_1
BUILDINGS_2
BUILDINGS_çati
BUILDINGS_mur
BUILDINGS_ruin
Damm
description box
emer_te-tjera
GRID
GRID_TEXT
Harta 83
hydrant
image
insert pipe
Izohipsat-kryesore
Izohipsat-ndihmese
Janjeve-map
Keqikoll-map
Kufiri i Pr
Lakes and rivers
Layer1
Layer2
legend
LEGENDA
lidhja1
Liqeni
Lypjan-map
Mainpipe
multiple connection
multiple connetion
multiple-watermeter
name-district
Name district
NAME_OBJECT
NAME_OBJEKT
NAME_OTHER
NAME_PLACE
NAME_STREET
ndarje ndertesash
ndarje ndertese
ndarje-ndertese
ndertesa te reja
NETWORK_WATER
NUMBERS_HOUSE
NUMBERS_PARCELS
NUMBERS_SURVEY_POINTS
numrat
Obiliq-map
objekte
objektet
objekti
orientim manhole
orientim- manhole
orientim-manhole
pika-elekrtike
pika-gjeodezike
pika-kanalizimi
pika ndihmese
pika-uje
Pishinë
PLANKOPF
POINT_BOUNDARIES_COMMUNITY
POINT_DETAIL
POINT_DISTRING_HEATING
POINT_ELECTRICITY
POINT_OTHER
POINT_SEWER
POINT_SURVEY
POINT_TELECOMMUNICATION
POINT_WATER
Prishtina e gjere
Prishtina-map
Pr-map
Pumpstation
pus
pusetë
RAMJET
Reservoir
Rezervari
Rrethoja
rrjeti
rruga
rruge e re
rruge te reja
rruge-te reja
ruin
septik tank
SURVEY_NETWORK
symbol-manhole
Text
Text1
Text-izohipsat
trasa
tregues
Valves
valvul uji
vija ndihmese
vija te tjera
water connection
water-connection
water connetion
water-connetion
water-tank
well

Please help with Prishtina DXF Import

Here should be the cross on the stadium, the stadium is a bit off in osm:
osm.org/browse/node/587989678

Please help with Prishtina DXF Import

Andrew, good point. If you have highres jpegs, we can trace over them!
let me get you that cross. wait.

Please help with Prishtina DXF Import

I have added these to my default.style :

node,way northing text linear
node,way easting text linear
node,way ac:northing text linear
node,way ac:easting text linear
node,way ac:color text linear
node,way ac:entityFlags text linear
node,way ac:layer_name text linear
node,way ac:part_of_poly text linear
node,way ac:type text linear
node,way type text linear

Invoke like this:
./osm2pgsql/osm2pgsql -S osm2pgsql/default.style --extra-attributes --utf8-sanitize --prefix prishtina --multi-geometry -P 5433 -m K-Prishtina-Com.dxf.osm

Then I can split by the layer attribute!

Please help with Prishtina DXF Import

That is great. Is there a way to get the coordinates shifted over prishtina? I can convert the dxf file. Also, these layers, I can split them from the resulting osm file.

The unconnected lines, we can do that manually.
mike

Please help with Prishtina DXF Import

The stadium is here :
osm.org/?lat=42.662641&lon=21.157284&zoom=18&layers=B000FTF

that is utm :
north :4723364.5, east 512889.84

723814.43 -4723364.5= −3999550.07 (about -400k)
513785.54 -512889.84 = 895.7

zone 34t according to :
http://www.cellspark.com/UTM.html

Please help with Prishtina DXF Import

X= 723814.43 Y = 513785.54

This coord is off, with a normal projection you wont get any points in prishtina
cs2cs +proj=utm +zone=34T +ellps=WGS84 +datum=WGS84 +units=m -f \"%.7f\"
723814.43 513785.54

Please help with Prishtina DXF Import

Upps, you have to view this with no style in firefox, for some reason the entry is messed up.

Please help with Prishtina DXF Import

I have made some screenshots of the detail in prishtina, amazing!
http://osmopenlayers.blogspot.com/2010/01/working-on-prishtina-highres-data.html