OpenStreetMap logo OpenStreetMap

Post When Comment
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

Please help with Prishtina DXF Import

using my TwoNickel to convert to osm,
http://github.com/h4ck3rm1k3/TwoNickels

using my patched version of osm2pgsql
(see patch here http://fmtyewtk.blogspot.com/2009/12/osm2pgsql-hack-for-importing-id-ways.html)
./osm2pgsql --utf8-sanitize --prefix prishtina --multi-geometry -P 5433 -m ~/cur/prishtina/K-Prishtina-Com.dxf.osm

It is now loading. Will then try and shift the data around manually with qgis.

Please help with Prishtina DXF Import

The file is here the whole time :
http://ia311536.us.archive.org/3/items/PrishtinaStreets/k_prishtina_com.dxf.zip

I am working on using my osm file from dime, converting that to pgsql and the will try and transform the data with qgis, all help appreciated.
mike

Please help with Prishtina DXF Import

Hi,

There are points, lines and streets.
I can open the file in qcad, but it is so slow that I cannot work with it.
There are some things not supported in DIME.

but Really, this goes over my head, I would need some exact instructions on how the coords are encoded in the dxf file so that I can decode them.

I dont have autocad or windows...

thanks,
mike

Gotten all the streets from Albania from DLG

The wikipage for the flood project is here :
osm.wiki/WikiProject_Shkoder

removing the EPA data from OSM

Thank you for your patience. I have removed all of them that did not get edited by someone. Please post the changesets of mine, and i will revert them.
thanks,
mike

Call to map, Albania with the flood crisis

We have now permission to use the data :
http://www.zki.caf.dlr.de/applications/2010/Albania/181_en.html
lets get tracing!

Call to map, Albania with the flood crisis

I have made a better image to trace from for Shkoder, and a video on how to help out with josm and the plugin. please help trace the map of shkoder.
http://www.youtube.com/watch?v=fLei9i2gq44

Call to map, Albania with the flood crisis

http://www.youtube.com/watch?v=fLei9i2gq44

Planimetria de Vitoria, part 3

CONGRATS!

Call to map, Albania with the flood crisis

I have added a new sat image :
http://warper.geothings.net/maps/export/1959

use this in your josm:
http://warper.geothings.net/maps/wms/1959?request=GetMap&version=1.1.1&styles=&format=image/png&srs=epsg:4326&exceptions=application/vnd.ogc.se_inimage&

Call to map, Albania with the flood crisis

I have added this to the wiki
osm.wiki/WikiProject_Shkoder

Call to map, Albania with the flood crisis

Here it is on digiglobe!
http://browse.digitalglobe.com/imagefinder/showBrowseMetadata?buffer=1.0&catalogId=101001000AF43700&imageHeight=natres&imageWidth=natres