Re: [Qgis-user] import osm-file to qgis

2014-02-07 Thread Claas Leiner
You can load OSM- or PBF-Files direkt in QGIS (Layer  add vectorlayer 
(all Files because *osm ist not in the list))! Then save the layers as 
Shapefiles!


Am 05.02.2014 12:02, schrieb Larissa Hauser:

Hi there

After having downloaded and unpacked the .osm-file for switzerland from 
geofabrik.de, I have successfully imported the included poi-dataset into QGIS 
(2.0.1). Even though the osm-file contains all the user ids and user names 
(checked in a text editor), these attributes have not been imported in QGIS 
(they are not displayed in the respective attribute table).

Does anyone know this problem or have an idea about it and would like to help 
me?

This would be great!

Thank you very much!
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] import osm-file to qgis

2014-02-05 Thread Larissa Hauser
Hi there

After having downloaded and unpacked the .osm-file for switzerland from 
geofabrik.de, I have successfully imported the included poi-dataset into QGIS 
(2.0.1). Even though the osm-file contains all the user ids and user names 
(checked in a text editor), these attributes have not been imported in QGIS 
(they are not displayed in the respective attribute table).

Does anyone know this problem or have an idea about it and would like to help 
me?

This would be great! 

Thank you very much!
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] import osm-file to qgis

2014-02-05 Thread Richard McDonnell
Hi,
One solution would be to download the shapefile for the area you are 
interested in, this should, I assume have all the required fields. You 
should be able to download that from the same source.
I hope this is of help.
Regards,


On 05/02/2014 11:02, Larissa Hauser wrote:
 Hi there

 After having downloaded and unpacked the .osm-file for switzerland from 
 geofabrik.de, I have successfully imported the included poi-dataset into QGIS 
 (2.0.1). Even though the osm-file contains all the user ids and user names 
 (checked in a text editor), these attributes have not been imported in QGIS 
 (they are not displayed in the respective attribute table).

 Does anyone know this problem or have an idea about it and would like to help 
 me?

 This would be great!

 Thank you very much!
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



**
Email Disclaimer: http://www.opw.ie/en/disclaimer/ 
**

attachment: richard_mcdonnell.vcf___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] import osm-file to qgis

2014-02-05 Thread Jukka Rahkonen
Richard McDonnell richard.mcdonnell@... writes:

 
 Hi,
 One solution would be to download the shapefile for the area you are 
 interested in, this should, I assume have all the required fields. You 
 should be able to download that from the same source.
 I hope this is of help.
 Regards,

Hi,

QGIS, GDAL and OSM users should also remember that there is an excellent
GDAL OSM driver http://gdal.org/ogr/drv_osm.html. I prefer using it together
with Spatialite http://www.gdal.org/ogr/drv_sqlite.html. Pay attention to
performance hints and handling country wide extracts will be pretty fast.

-Jukka Rahkonen-



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] import osm-file to qgis

2014-02-05 Thread Andre Joost

Am 05.02.2014 15:26, schrieb Jukka Rahkonen:



QGIS, GDAL and OSM users should also remember that there is an excellent
GDAL OSM driver http://gdal.org/ogr/drv_osm.html.


You can use it by simply dragging the .osm file into the table of content.


Another chance is to use the spatialite_osm_map tool.

Unfortuantely, all these (and the standard osm2pgsl importer to Postgis) 
strip of the osm user information during import by default.


For the direct import with Add vector layer, you can edit the file 
../QGIS Dufour\share\gdal\osmconf.ini by editing



# common attributes
osm_id=yes
osm_version=yes
osm_timestamp=yes
osm_uid=yes
osm_user=yes
osm_changeset=yes


for point, lines, multipolygons, multilinestrings and other_relations.


For osm2pgsql, it is possible to add those columns by uncommenting the 
last lines of the default style:

#node,way  osm_user   text
#node,way  osm_uidtext
#node,way  osm_versiontext
#node,way  osm_timestamp  text


HTH,
André Joost


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] import osm-file to qgis

2014-02-05 Thread Larissa Hauser
Hi there

as I have no experience in programming I am really struggling at the moment...
would anyone help me to get the attributes user id or/and user name of an 
.osm-file with it into qgis?

unfortunately, I do not manage to install and run the GDAL OSM driver 
http://gdal.org/ogr/drv_osm.html which might be of big value for my problem's 
solution...

thank you very much!
larissa

Am 05.02.2014 um 16:41 schrieb Andre Joost:

 Am 05.02.2014 15:26, schrieb Jukka Rahkonen:
 
 
 QGIS, GDAL and OSM users should also remember that there is an excellent
 GDAL OSM driver http://gdal.org/ogr/drv_osm.html.
 
 You can use it by simply dragging the .osm file into the table of content.
 
 
 Another chance is to use the spatialite_osm_map tool.
 
 Unfortuantely, all these (and the standard osm2pgsl importer to Postgis) 
 strip of the osm user information during import by default.
 
 For the direct import with Add vector layer, you can edit the file ../QGIS 
 Dufour\share\gdal\osmconf.ini by editing
 
 # common attributes
 osm_id=yes
 osm_version=yes
 osm_timestamp=yes
 osm_uid=yes
 osm_user=yes
 osm_changeset=yes
 
 for point, lines, multipolygons, multilinestrings and other_relations.
 
 
 For osm2pgsql, it is possible to add those columns by uncommenting the last 
 lines of the default style:
 #node,way  osm_user   text
 #node,way  osm_uidtext
 #node,way  osm_versiontext
 #node,way  osm_timestamp  text
 
 HTH,
 André Joost
 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] import osm-file to qgis

2014-02-05 Thread aperi2007

I use

spatialite_osm_map 
http://www.gaia-gis.it/gaia-sins/windows-bin-x86/spatialite_osm_map-4.1.1-win-x86.zip.exe


from spatialite-tools.

Regards,
A.


On 05/02/2014 15:26, Jukka Rahkonen wrote:

Richard McDonnell richard.mcdonnell@... writes:


Hi,
One solution would be to download the shapefile for the area you are
interested in, this should, I assume have all the required fields. You
should be able to download that from the same source.
I hope this is of help.
Regards,

Hi,

QGIS, GDAL and OSM users should also remember that there is an excellent
GDAL OSM driver http://gdal.org/ogr/drv_osm.html. I prefer using it together
with Spatialite http://www.gdal.org/ogr/drv_sqlite.html. Pay attention to
performance hints and handling country wide extracts will be pretty fast.

-Jukka Rahkonen-



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] import osm-file to qgis

2014-02-05 Thread Andre Joost

Am 05.02.2014 17:23, schrieb Larissa Hauser:

Hi there

as I have no experience in programming I am really struggling at the
moment... would anyone help me to get the attributes user id or/and
user name of an .osm-file with it into qgis?

unfortunately, I do not manage to install and run the GDAL OSM driver
http://gdal.org/ogr/drv_osm.html which might be of big value for my
problem's solution...



The driver is included by default with QGIS Dufour. Lisboa did not have 
it yet.


Greetings,
André Joost

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user