Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-06 Thread Claas Leiner

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


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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




--
-
Dr.-Ing. Claas Leiner

Praxis für Geodatenmanagement, GIS-Schulungen
und Support zu freier GIS-Software (QGIS, GRASS etc.)

Wilhelmshöher Allee 304 E
34131 Kassel
Tel. 0561/81676217 oder 0561/804-7196
claas.lei...@eschenlaub.de
http://www.eschenlaub.de

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


Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-06 Thread Bernd Vogelgesang
Am 06.03.2014, 09:01 Uhr, schrieb Claas Leiner  
claas.lei...@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user







--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-06 Thread Christine
Recently I got an exported set of data from ALKIS to the shapefile format
(probably standard export). Really not handy and necessary to be processed
time-consumingly in order to work with it. As the data model of the cadastre
data was changed, there is a preprocessing necessary - at least for our
applications. Could be probably better done with a database than with these
shapefiles. 

There exists a PostNas interface * of the Wheregroup which shall be now
implemented in OGR ( Project page http://trac.wheregroup.com/PostNAS  , 
Flyer
http://trac.wheregroup.com/PostNAS/export/319/trunk/flyer/PostNAS.pdf  )
(in german). So it should be also available in QGIS, isn't it ?

* PostNAS features (according der flyer):
- providing NAS Import via ogr2ogr
- Conversion of all levels and feature classes 
- support of NBA process (?)
- Analysis of NAS source data via ogrinfo
- suppport of PostgreSQL/PostGIS, ESRI Shape, Oracle, MapInfo etc.
- preprocessing as a OGC WMS- and WFS service via UMN MapServer
- searching modules 
- scripts, test data, manual 

Sounds promising. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/NAS-format-via-OGR-PostNAS-tp5104870p5107931.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-06 Thread Jürgen E . Fischer
Hi Christine,

On Thu, 06. Mar 2014 at 05:37:19 -0800, Christine wrote:
 There exists a PostNas interface * of the Wheregroup which shall be now
 implemented in OGR ( Project page http://trac.wheregroup.com/PostNAS  , 
 Flyer
 http://trac.wheregroup.com/PostNAS/export/319/trunk/flyer/PostNAS.pdf  )
 (in german). So it should be also available in QGIS, isn't it ?
 
 * PostNAS features (according der flyer):
 - providing NAS Import via ogr2ogr
 - Conversion of all levels and feature classes 
 - support of NBA process (?)
 - Analysis of NAS source data via ogrinfo
 - suppport of PostgreSQL/PostGIS, ESRI Shape, Oracle, MapInfo etc.
 - preprocessing as a OGC WMS- and WFS service via UMN MapServer
 - searching modules 
 - scripts, test data, manual 
 
 Sounds promising. 

There's more.  We developed a import frontend, virtually full support for the
display rules of GeoInfoDok and a plugin that implements ALKIS display in QGIS.
But all that has not made public yet, while we're still trying to secure
funding.  It will eventually become open source.

See also the nas mailing list http://lists.osgeo.org/pipermail/nas/

BTW I also recently became the NAS maintainer in GDAL.


Jürgen

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
QGIS PSC member (RM)  Germany  IRC: jef on FreeNode 


-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-05 Thread Christine
Does nobody know about NAS (Normbasiertes AustauschFormat = norm based
interface) and possible usage in QGIS ? 
Or should I post this to the developers list ? 

Regards, Christine 
 
Original question on Nabble:
http://osgeo-org.1560.x6.nabble.com/NAS-format-via-OGR-PostNAS-tp5104870.html



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/NAS-format-via-OGR-PostNAS-tp5104870p5107778.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-05 Thread Bernd Vogelgesang

Am 05.03.2014, 23:16 Uhr, schrieb Christine geo.gu...@web.de:


Does nobody know about NAS (Normbasiertes AustauschFormat = norm based
interface) and possible usage in QGIS ?
Or should I post this to the developers list ?

Regards, Christine#


I have to admit, I never heard of that stuff before. And I actually do not  
know what exactly you want to ask?
Just downloaded the example data-set from this page:  
http://www.lvermgeo.rlp.de/index.php?id=2837


http://www.lvermgeo.rlp.de/index.php?id=2837no_cache=1cid=31did=8405sechash=93dd2e

which is a zipped xml file of 3,5 MB. Extracted, it's about 128 MB.
Loading  ( choose to view all file formats in the vector loading dialog)  
all 94 layers and tables at once in QGIS 2.2 took some minutes, so  
digestion of this format seems not to be very performant.
Having loaded only 2 layers, it is much faster, but moving the map content  
takes a while to render, even on my new and super fast machine.


So, possible usage in QGIS as far as I could elaborate:
- Viewing layers and tables
- Editing is not possible
- Saving layers in other formats works (e.g as shp, and after building a  
spatial index it's rendering much faster)


What else do you need to do with that?

Cheers
Bernd









Original question on Nabble:
http://osgeo-org.1560.x6.nabble.com/NAS-format-via-OGR-PostNAS-tp5104870.html



--
View this message in context:  
http://osgeo-org.1560.x6.nabble.com/NAS-format-via-OGR-PostNAS-tp5104870p5107778.html

Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] NAS format via OGR/PostNAS ?

2014-03-05 Thread 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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user