[FATURE] fTools: option to export geometry column using layer CRS,

project CRS or ellipsoid
This commit is contained in:
Alexander Bruy 2012-02-01 20:31:58 +02:00
parent 5b800befeb
commit 8fda99366b
2 changed files with 470 additions and 428 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,11 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class> <class>Dialog</class>
<widget class="QDialog" name="Dialog" > <widget class="QDialog" name="Dialog">
<property name="windowModality" > <property name="windowModality">
<enum>Qt::NonModal</enum> <enum>Qt::NonModal</enum>
</property> </property>
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -12,89 +13,46 @@
<height>296</height> <height>296</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Extract Nodes</string> <string>Extract Nodes</string>
</property> </property>
<property name="sizeGripEnabled" > <property name="sizeGripEnabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout" name="gridLayout" > <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2" > <item row="0" column="0" colspan="2">
<layout class="QVBoxLayout" > <layout class="QVBoxLayout">
<item> <item>
<widget class="QLabel" name="label_3" > <widget class="QLabel" name="label_3">
<property name="text" > <property name="text">
<string>Input line or polygon vector layer</string> <string>Input line or polygon vector layer</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="inShape" /> <widget class="QComboBox" name="inShape"/>
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0" colspan="2" > <item row="2" column="0" colspan="2">
<layout class="QHBoxLayout" > <widget class="QSplitter" name="splitter">
<item> <property name="orientation">
<widget class="QLabel" name="label" >
<property name="text" >
<string>Tolerance</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <widget class="QLabel" name="lblField">
<size> <property name="text">
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDoubleSpinBox" name="lineEdit" >
<property name="minimumSize" >
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="decimals" >
<number>4</number>
</property>
<property name="maximum" >
<double>100000.000000000000000</double>
</property>
<property name="singleStep" >
<double>0.500000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" colspan="2" >
<widget class="QSplitter" name="splitter" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<widget class="QLabel" name="field_label" >
<property name="text" >
<string>Unique ID field</string> <string>Unique ID field</string>
</property> </property>
</widget> </widget>
<widget class="QComboBox" name="cmbField" /> <widget class="QComboBox" name="cmbField"/>
</widget> </widget>
</item> </item>
<item row="3" column="0" > <item row="4" column="0">
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>21</height> <height>21</height>
@ -102,27 +60,27 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="4" column="0" colspan="2" > <item row="5" column="0" colspan="2">
<layout class="QVBoxLayout" > <layout class="QVBoxLayout">
<item> <item>
<widget class="QLabel" name="label_2" > <widget class="QLabel" name="label_2">
<property name="text" > <property name="text">
<string>Output point shapefile</string> <string>Output point shapefile</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<item> <item>
<widget class="QLineEdit" name="outShape" > <widget class="QLineEdit" name="outShape">
<property name="readOnly" > <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QToolButton" name="toolOut" > <widget class="QToolButton" name="toolOut">
<property name="text" > <property name="text">
<string>Browse</string> <string>Browse</string>
</property> </property>
</widget> </widget>
@ -131,12 +89,12 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="5" column="0" > <item row="6" column="0">
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>21</height> <height>21</height>
@ -144,29 +102,86 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="6" column="0" > <item row="7" column="0">
<widget class="QProgressBar" name="progressBar" > <widget class="QProgressBar" name="progressBar">
<property name="value" > <property name="value">
<number>0</number> <number>0</number>
</property> </property>
<property name="alignment" > <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
<property name="textVisible" > <property name="textVisible">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="1" > <item row="7" column="1">
<widget class="QDialogButtonBox" name="buttonBox_2" > <widget class="QDialogButtonBox" name="buttonBox_2">
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="standardButtons" > <property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set> <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2">
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Tolerance</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDoubleSpinBox" name="lineEdit">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="decimals">
<number>4</number>
</property>
<property name="maximum">
<double>100000.000000000000000</double>
</property>
<property name="singleStep">
<double>0.500000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0" colspan="2">
<layout class="QHBoxLayout" name="_2">
<item>
<widget class="QLabel" name="lblCalcType">
<property name="text">
<string>Calculate using</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="cmbCalcType"/>
</item>
</layout>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>
@ -177,11 +192,11 @@
<receiver>Dialog</receiver> <receiver>Dialog</receiver>
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>133</x> <x>133</x>
<y>512</y> <y>512</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>215</x> <x>215</x>
<y>290</y> <y>290</y>
</hint> </hint>
@ -193,11 +208,11 @@
<receiver>Dialog</receiver> <receiver>Dialog</receiver>
<slot>close()</slot> <slot>close()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>59</x> <x>59</x>
<y>512</y> <y>512</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>132</x> <x>132</x>
<y>239</y> <y>239</y>
</hint> </hint>