Changes between Initial Version and Version 1 of BuildingOgrPostNASDriver


Ignore:
Timestamp:
05/28/10 12:40:42 (14 years ago)
Author:
astrid.emde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOgrPostNASDriver

    v1 v1  
     1Currently the NAS OGR driver lives in the opennas svn server, but it must be built as part of GDAL/OGR "trunk".  The following rough steps should work on unix/linux, currently the win32 build support has not been implemented. 
     2 
     3{{{ 
     4% svn checkout http://svn.osgeo.org/gdal/trunk/gdal 
     5% cd gdal/ogr/ogrsf_frmts 
     6% svn checkout https://svn.wheregroup.com/opennas/trunk/nas 
     7% cd ../.. 
     8% ./configure --with-xerces 
     9% make 
     10% make install 
     11}}} 
     12 
     13The NAS driver depends on the Xerces-C XML parsing library.  After configuring ensure the following lines appear in the final report: 
     14 
     15{{{ 
     16  Xerces-C support:          yes 
     17  NAS support:               yes 
     18}}} 
     19 
     20Also, confirm that NAS format shows up in the ogrinfo formats list; 
     21 
     22{{{ 
     23% ogrinfo --formats |grep NAS 
     24  -> "NAS" (readonly) 
     25}}} 
     26 
     27and try a simple file: 
     28 
     29{{{ 
     30% ogrinfo 2008-02-21_4204_EINRICHTUNGSAUFTRAG_002.XML 
     31Had to open data source read-only. 
     32INFO: Open of `2008-02-21_4204_EINRICHTUNGSAUFTRAG_002.XML' 
     33      using driver `NAS' successful. 
     341: AX_BesondereFlurstuecksgrenze 
     352: AX_Grenzpunkt 
     363: AX_LagebezeichnungOhneHausnummer 
     374: AX_LagebezeichnungMitHausnummer 
     385: AX_LagebezeichnungMitPseudonummer 
     39 
     40% ogrinfo 2008-02-21_4204_EINRICHTUNGSAUFTRAG_002.XML AX_BesondereFlurstuecksgrenze 
     41... 
     42OGRFeature(AX_BesondereFlurstuecksgrenze):1 
     43  beginnt (String) = 9999-01-01T00:00:00Z 
     44  advStandardModell (String) = DLKM 
     45  sonstigesModell (String) = NWABK5 
     46  anlass (Integer) = 0 
     47  artDerFlurstuecksgrenze (IntegerList) = (3:7106,3000,7003) 
     48  LINESTRING (391514.74900000001071 5646678.007000000216067,391528.320000000006985 5646684.384999999776483) 
     49... 
     50}}} 
     51