Skip to content

Commit

Permalink
[Feature] Topology Cheker Plugin.
Browse files Browse the repository at this point in the history
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 723d597
Show file tree
Hide file tree
Showing 22 changed files with 4,406 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
62 changes: 62 additions & 0 deletions src/plugins/topology/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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})

Loading

0 comments on commit 723d597

Please sign in to comment.