Skip to content
Permalink
Browse files

Use the expat parser for the WFS provider because of smaller memory n…

…eeds and possibility to incrementally parse document

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6434 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jan 15, 2007
1 parent 7903a9d commit 1d8725d6d752e0d56bc9786d1b50d949f3ba4820
@@ -394,7 +394,7 @@ QgsDataProvider* QgsProviderRegistry::getProvider( QString const & providerKey,
}
else
{
QgsLogger::warning( "Failed to load ../providers/libproviders.so" );
QgsLogger::warning( "Failed to load " + lib );
delete myLib;
return 0;
}
@@ -1,12 +1,12 @@

SUBDIRS (copyright_label delimited_text grid_maker navigation north_arrow scale_bar wfs)
SUBDIRS (copyright_label delimited_text grid_maker navigation north_arrow scale_bar)

IF (POSTGRES_FOUND)
SUBDIRS (geoprocessing spit)
ENDIF (POSTGRES_FOUND)

IF (EXPAT_FOUND)
SUBDIRS (gps_importer)
SUBDIRS (gps_importer wfs)
ENDIF (EXPAT_FOUND)

IF (GSL_FOUND)
@@ -35,7 +35,6 @@ INCLUDE_DIRECTORIES(
../../core ../../core/raster ../../core/renderer ../../core/symbology
../../gui
..
../../providers/wfs
../../app # for QgsNewHttpConnection
${GEOS_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}/geos
@@ -21,7 +21,6 @@
#include "qgssinglesymbolrenderer.h"
#include "qgsvectorlayer.h"
#include "qgswfsplugin.h"
#include "qgswfsprovider.h"

#include "mIconAddWfsLayer.xpm"

@@ -1,12 +1,12 @@

SUBDIRS (ogr wms delimitedtext wfs)
SUBDIRS (ogr wms delimitedtext)

IF (POSTGRES_FOUND)
SUBDIRS (postgres)
ENDIF (POSTGRES_FOUND)

IF (EXPAT_FOUND)
SUBDIRS (gpx)
SUBDIRS (gpx wfs)
ENDIF (EXPAT_FOUND)

IF (GRASS_FOUND)
@@ -2,8 +2,11 @@
########################################################
# Files

SET(WFS_SRCS qgswfsprovider.cpp)
SET(WFS_SRCS qgswfsprovider.cpp qgswfsdata.cpp)

SET (WFS_MOC_HDRS
qgswfsdata.h
)

########################################################
# Build
@@ -14,12 +17,15 @@ INCLUDE_DIRECTORIES (
../../core
${GEOS_INCLUDE_DIR}
${GEOS_INCLUDE_DIR}/geos
${EXPAT_INCLUDE_DIR}
)

ADD_LIBRARY (wfsprovider MODULE ${WFS_SRCS})
ADD_LIBRARY (wfsprovider MODULE ${WFS_SRCS} ${WFS_MOC_SRCS})

TARGET_LINK_LIBRARIES (wfsprovider
${QT_LIBRARIES}
${GEOS_LIBRARY}
${EXPAT_LIBRARY}
qgis_core
)

0 comments on commit 1d8725d

Please sign in to comment.
You can’t perform that action at this time.