Hi

It is very easy to import masses of buildings if you have the basic data like cadastre data. I imported the buildings generated from the Solothurn AV with the following commands:

The AV data are stored in Postgis. To get them from the DB I use ogr2ogr for extracting the data and for transformation from LV03 to WGS84. With shp2osm.pls I convert the resultant shape to osm. Now you can load the *.osm to josm for loading the buildings up to the OSM Server. That's it.

ogr2ogr -sql "select wkb_geometry, 'SO!GIS Import' as source, 'Kanton Solothurn' as copyright, 'yes' as building from buildings" -t_srs EPSG:4326 -s_srs EPSG:21781 osm_temp.shp PG:"dbname=xxx host=xxx user=xxx passwd=xxx"
perl shp2osm.pls osm_temp.shp > geb_$1.osm
rm osm_temp.*

Regards
Horst

------------------------------------------------

Dr. Horst Düster
Stv. Amtschef / kantonaler GIS-Koordinator

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
SO!GIS Koordination
Rötistrasse 4
CH-4501 Solothurn

Telefon ++41(0)32 627 25 32
Mobil ++41(0)79 511 54 12
Telefax ++41(0)32 627 22 14

mailto:horst.duester@bd.so.ch
http://www.agi.so.ch

-----Ursprüngliche Nachricht-----
Von: Marc Mongenet [mailto:marc@mongenet.ch]
Gesendet am: Mittwoch, 9. Juni 2010 13:07
An: Openstreetmap Schweiz/Suisse/Svizzera/Svizra
Betreff: [talk-ch] City of Morges

Hello,

Someone from the city of Morges asked me if data for buildings have
been automatically input for some parts of the map (Lausanne,
Solothurn).
Is it the case? In any case, which technical means are available to
import such data in the map?

Marc Mongenet
_______________________________________________
talk-ch mailing list
talk-ch@openstreetmap.ch
http://lists.openstreetmap.ch/mailman/listinfo/talk-ch