Skip to content
Permalink
Browse files

[FEATURE] Imported OpenStreetMap provider and plugin.

git-svn-id: http://svn.osgeo.org/qgis/trunk@11210 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Jul 30, 2009
1 parent 79aa90b commit 257e30ea9b5887d8d4771aa127696864ef371de0
Showing with 22,609 additions and 2 deletions.
  1. +1 −1 python/plugins/CMakeLists.txt
  2. +12 −0 python/plugins/osm/CMakeLists.txt
  3. +2,589 −0 python/plugins/osm/DatabaseManager.py
  4. +798 −0 python/plugins/osm/DlgAddRelation.py
  5. +140 −0 python/plugins/osm/DlgAddRelation_ui.py
  6. +491 −0 python/plugins/osm/DlgDownloadOSM.py
  7. +162 −0 python/plugins/osm/DlgDownloadOSM_ui.py
  8. +252 −0 python/plugins/osm/DlgImport.py
  9. +62 −0 python/plugins/osm/DlgImport_ui.py
  10. +320 −0 python/plugins/osm/DlgLoadOSM.py
  11. +86 −0 python/plugins/osm/DlgLoadOSM_ui.py
  12. +314 −0 python/plugins/osm/DlgSaveOSM.py
  13. +99 −0 python/plugins/osm/DlgSaveOSM_ui.py
  14. +1,548 −0 python/plugins/osm/DlgUploadOSM.py
  15. +118 −0 python/plugins/osm/DlgUploadOSM_ui.py
  16. +441 −0 python/plugins/osm/DockUndoRedo.py
  17. +59 −0 python/plugins/osm/DockUndoRedo_ui.py
  18. +1,243 −0 python/plugins/osm/DockWidget.py
  19. +290 −0 python/plugins/osm/DockWidget_ui.py
  20. +37 −0 python/plugins/osm/Makefile
  21. +65 −0 python/plugins/osm/__init__.py
  22. +4,016 −0 python/plugins/osm/images/osmIconsMaster.svg
  23. BIN python/plugins/osm/images/osm_createLine.png
  24. BIN python/plugins/osm/images/osm_createPoint.png
  25. BIN python/plugins/osm/images/osm_createPolygon.png
  26. BIN python/plugins/osm/images/osm_createRelation.png
  27. BIN python/plugins/osm/images/osm_download.png
  28. BIN python/plugins/osm/images/osm_featureManager.png
  29. BIN python/plugins/osm/images/osm_identify.png
  30. BIN python/plugins/osm/images/osm_import.png
  31. BIN python/plugins/osm/images/osm_load.png
  32. BIN python/plugins/osm/images/osm_move.png
  33. BIN python/plugins/osm/images/osm_questionMark.png
  34. BIN python/plugins/osm/images/osm_redo.png
  35. BIN python/plugins/osm/images/osm_remove.png
  36. BIN python/plugins/osm/images/osm_save.png
  37. BIN python/plugins/osm/images/osm_star.png
  38. BIN python/plugins/osm/images/osm_undo.png
  39. BIN python/plugins/osm/images/osm_upload.png
  40. +337 −0 python/plugins/osm/map_tools/CreateLineMapTool.py
  41. +265 −0 python/plugins/osm/map_tools/CreatePointMapTool.py
  42. +336 −0 python/plugins/osm/map_tools/CreatePolygonMapTool.py
  43. +292 −0 python/plugins/osm/map_tools/IdentifyMapTool.py
  44. +768 −0 python/plugins/osm/map_tools/MoveMapTool.py
  45. 0 python/plugins/osm/map_tools/__init__.py
  46. +333 −0 python/plugins/osm/osm_plugin.py
  47. +1,693 −0 python/plugins/osm/resources.py
  48. +53 −0 python/plugins/osm/resources.qrc
  49. +34 −0 python/plugins/osm/styles/big_scale.style
  50. +45 −0 python/plugins/osm/styles/medium_scale.style
  51. +48 −0 python/plugins/osm/styles/small_scale.style
  52. +289 −0 python/plugins/osm/ui_files/DlgAddRelation.ui
  53. +375 −0 python/plugins/osm/ui_files/DlgDownloadOSM.ui
  54. +122 −0 python/plugins/osm/ui_files/DlgImport.ui
  55. +163 −0 python/plugins/osm/ui_files/DlgLoadOSM.ui
  56. +226 −0 python/plugins/osm/ui_files/DlgSaveOSM.ui
  57. +229 −0 python/plugins/osm/ui_files/DlgUploadOSM.ui
  58. +100 −0 python/plugins/osm/ui_files/DockUndoRedo.ui
  59. +731 −0 python/plugins/osm/ui_files/DockWidget.ui
  60. +1 −1 src/providers/CMakeLists.txt
  61. +45 −0 src/providers/osm/CMakeLists.txt
  62. +382 −0 src/providers/osm/osmhandler.cpp
  63. +86 −0 src/providers/osm/osmhandler.h
  64. +1,672 −0 src/providers/osm/osmprovider.cpp
  65. +302 −0 src/providers/osm/osmprovider.h
  66. +183 −0 src/providers/osm/osmrenderer.cpp
  67. +77 −0 src/providers/osm/osmrenderer.h
  68. +206 −0 src/providers/osm/osmstyle.cpp
  69. +73 −0 src/providers/osm/osmstyle.h
@@ -1 +1 @@
SUBDIRS(plugin_installer mapserver_export fTools)
SUBDIRS(plugin_installer mapserver_export fTools osm)
@@ -0,0 +1,12 @@
#TODO: Need to configure cmake to run pyrcc4 and pyuic4 as required when the resource
# file or the ui change

SET (OSM_PLUGIN_DIR ${QGIS_DATA_DIR}/python/plugins/osm)

FILE (GLOB PYTHON_FILES *.py)
FILE (GLOB MAPTOOLS_PYTHON_FILES map_tools/*.py)
FILE (GLOB STYLE_FILES styles/*.style)

INSTALL (FILES ${PYTHON_FILES} DESTINATION ${OSM_PLUGIN_DIR})
INSTALL (FILES ${MAPTOOLS_PYTHON_FILES} DESTINATION ${OSM_PLUGIN_DIR}/map_tools)
INSTALL (FILES ${STYLE_FILES} DESTINATION ${OSM_PLUGIN_DIR}/styles)

0 comments on commit 257e30e

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