Skip to content
Permalink
Browse files

[Feature] Topology Cheker Plugin.

added files for topology plugin

modified cmakelists to add topology plugin folder

Conflicts:

	src/plugins/CMakeLists.txt

fixed issues in duplicate rule where zooming was not possible..renamed 'Test' to 'Rule'

fixed minimum segment length rule
renamed rules to meaningful descriptions

Added new rule "Must not have pseudos" for line vector layers.
Renamed rules to more understandable descriptions.
Handled WKB::MultilineStrings in line shapefiles in hanging lines rule that caused crashes.

"segments must have minimum length" rule now only checks if the geometry contains at least one short segment

added new Rule "Must Not Have Gaps"
removed unwanted indexing for some rules.
prepare commit run.

test commit

modified 'must not have gaps' rule.

updated calls to new vector api

more changes based on new api

fixed "must not have gaps rule"
fixed extent issues

changed dangle rule implementation

More rules added
-checkPointCoveredbyLineEnds
-checkPointInPolygon

new rules added
-point must be inside polygon
-polygon must contain point
-geometry must not be multipart

added rule 'checkyLineEndsCoveredByPoints'
renamed some rules
commented 'closer than tolerance rules' -performance issues
changed colors of error markers

changed visualization style of errors

changed rule paramters
validateExtent fixed to show only errors from within canvas extent
removed rule - polygons must contain feature
removed direct calls to geos api
prepare commit run

fixed missing icon in plugin manager

icons added. validateSelected option removed
  • Loading branch information
vinayan authored and jef-n committed Mar 26, 2013
1 parent 4435c4f commit 723d597a78e5c8f5158b8fc6e82050dac25ab9b6
@@ -16,6 +16,7 @@ ADD_SUBDIRECTORY(roadgraph)
ADD_SUBDIRECTORY(zonal_statistics)
ADD_SUBDIRECTORY(georeferencer)
ADD_SUBDIRECTORY(gps_importer)
ADD_SUBDIRECTORY(topology)

IF (WITH_SPATIALITE)
ADD_SUBDIRECTORY(offline_editing)
@@ -0,0 +1,62 @@

########################################################
# Files

SET (topol_SRCS
topol.cpp
rulesDialog.cpp
checkDock.cpp
topolError.cpp
topolTest.cpp
dockModel.cpp
)

SET (topol_UIS
rulesDialog.ui
checkDock.ui
)

SET (topol_MOC_HDRS
topol.h
rulesDialog.h
checkDock.h
topolTest.h
dockModel.h
geosFunctions.h
)

SET (topol_RCCS topol.qrc)

########################################################
# Build

QT4_WRAP_UI (topol_UIS_H ${topol_UIS})

QT4_WRAP_CPP (topol_MOC_SRCS ${topol_MOC_HDRS})

QT4_ADD_RESOURCES(topol_RCC_SRCS ${topol_RCCS})

ADD_LIBRARY (topolplugin MODULE ${topol_SRCS} ${topol_MOC_SRCS} ${topol_RCC_SRCS} ${topol_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_BINARY_DIR}/src/ui
${CMAKE_CURRENT_BINARY_DIR}
${GEOS_INCLUDE_DIR}
../../core ../../core/raster ../../core/renderer ../../core/symbology
../../gui
..
)

TARGET_LINK_LIBRARIES(topolplugin
qgis_core
qgis_gui
)


########################################################
# Install

INSTALL(TARGETS topolplugin
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})

0 comments on commit 723d597

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