-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Paolo Scala's dxf importer plugin (initial import to SVN)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9036 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
timlinux
committed
Aug 8, 2008
1 parent
4e05fc3
commit 7011bf0
Showing
33 changed files
with
14,971 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
######################################################## | ||
# Files | ||
|
||
SET (dxf2shpconverter_SRCS | ||
dxf2shpconverter.cpp | ||
dxf2shpconvertergui.cpp | ||
builder.cpp | ||
getInsertions.cpp | ||
dxflib/src/dl_dxf.cpp | ||
dxflib/src/dl_writer_ascii.cpp | ||
) | ||
|
||
SET (dxf2shpconverter_UIS dxf2shpconvertergui.ui) | ||
|
||
SET (dxf2shpconverter_MOC_HDRS | ||
dxf2shpconverter.h | ||
dxf2shpconvertergui.h | ||
builder.h | ||
getInsertions.h | ||
dxflib/src/dl_dxf.h | ||
dxflib/src/dl_writer_ascii.h | ||
) | ||
|
||
SET (dxf2shpconverter_RCCS dxf2shpconverter.qrc) | ||
|
||
######################################################## | ||
# Build | ||
|
||
QT4_WRAP_UI (dxf2shpconverter_UIS_H ${dxf2shpconverter_UIS}) | ||
|
||
QT4_WRAP_CPP (dxf2shpconverter_MOC_SRCS ${dxf2shpconverter_MOC_HDRS}) | ||
|
||
QT4_ADD_RESOURCES(dxf2shpconverter_RCC_SRCS ${dxf2shpconverter_RCCS}) | ||
|
||
ADD_LIBRARY (dxf2shpconverterplugin MODULE ${dxf2shpconverter_SRCS} ${dxf2shpconverter_MOC_SRCS} ${dxf2shpconverter_RCC_SRCS} ${dxf2shpconverter_UIS_H}) | ||
|
||
INCLUDE_DIRECTORIES( | ||
${CMAKE_CURRENT_BINARY_DIR} | ||
../../core | ||
../../core/raster | ||
../../core/renderer | ||
../../core/symbology | ||
../../gui | ||
.. | ||
) | ||
|
||
TARGET_LINK_LIBRARIES(dxf2shpconverterplugin | ||
${QT_LIBRARIES} | ||
qgis_core | ||
qgis_gui | ||
) | ||
|
||
|
||
######################################################## | ||
# Install | ||
|
||
INSTALL(TARGETS dxf2shpconverterplugin | ||
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR} | ||
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/*************************************************************************** | ||
*Copyright (C) 2008 Paolo L. Scala, Barbara Rita Barricelli, Marco Padula * | ||
* CNR, Milan Unit (Information Technology), * | ||
* Construction Technologies Institute.\n"; * | ||
* * | ||
* email : Paolo L. Scala <scala@itc.cnr.it> * | ||
* * | ||
* This is a plugin generated from the QGIS plugin template * | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
***************************************************************************/ | ||
DXF2SHP Plugin converter | ||
|
||
We've just developed and partially tested this plugin that converts a DXF file | ||
into one or more vector layers in QGIS; it can also extract labels from the | ||
DXF file and inserts the data (string, x, y ,z, angle) in the dbf file of a new | ||
point layer populated with points located where the labels should be rendered. | ||
The purpose is to let Mapserver render them. | ||
|
||
The plugin uses shapelib and dxflib to convert and create the shp files. | ||
For any suggestion or criticism, please contact us at: | ||
|
||
scala@itc.cnr.it | ||
barricelli@itc.cnr.it |
Oops, something went wrong.