[Qgis-user] NAS format via OGR/PostNAS ?
Bernd Vogelgesang
bernd.vogelgesang at gmx.de
Thu Mar 6 04:36:15 PST 2014
Am 06.03.2014, 09:01 Uhr, schrieb Claas Leiner
<claas.leiner at eschenlaub.de>:
> Hello Cristine,
>
> NAS is not listet in the ad Vector-layers dialog but you can still open
> a NAS-XML-File. Then you can save the Layers as Shapefile etc.
>
> A quicker way on the commandline with ogr2ogr which is installed with
> QGIS. (OSGeo4W-Shell)
>
> Konvert as Shapefiles in a directory
> ogr2ogr -f "ESRI Shapefile" targetdirectory SOURCE.XML
>
> konvert as SpatiaLite
> ogr2ogr -f "SQLite" -dsco SPATIALITE=yes -s_srs EPSG:25832 -skipfailures
> -gt 1024 target.sqlite source.xml
>
> Regards, Claas
Hi Claas,
I tried your conversion to SpatiaLite, which throws lots of errors and
only processes the spatial tables, so all the 40somewhat non-spatial
tables wont be imported from the xml.
Is there any way to import the non-spatial tables as well?
Using SpatiaLite for this data seems to to be THE way to go, instead of
producing tons of shape files.
Cheers
Bernd
>
> Am 06.03.2014 08:22, schrieb Christine:
>> Thanks a lot, Bernd, for your efforts.
>>
>> Didn't found NAS listed in the QGIS file open list, so I assumed it
>> won't
>> work yet. How stupid.
>> Will try it as soon as possible by myself.
>>
>> Regards, Christine
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/NAS-format-via-OGR-PostNAS-tp5104870p5107825.html
>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
More information about the Qgis-user
mailing list