Bug report #1664

fTools geoprocessing changes field format

Added by Maxim Dubinin over 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:Low
Assignee:cfarmer -
Category:Python plugins
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11724

Description

Tried Clipping with fTools, everything is fine, but fields of the output are changed to different length and number of decimals. This is small, but I guess it should better be kept as in source.

Associated revisions

Revision 829f0744
Added by Jürgen Fischer about 10 years ago

fix #1664 and #1681

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 16b91c6b
Added by Jürgen Fischer about 10 years ago

fix #1664 and #1681

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Borys Jurgiel over 10 years ago

It's related to the QgsShapefileWriter issues. See #1681.

#2 Updated by Borys Jurgiel over 10 years ago

Sorry, of course I mean QgsVectorFileWriter

#3 Updated by Giovanni Manghi about 10 years ago

I cannot replicate this, qith qgis 1.2 from trunk and the latest version of ftools. Tested both shapefiles and postgis layers.

Can you give a try with the latest version of the plugin and/or post the sample data that gave you problems?

#4 Updated by Maxim Dubinin about 10 years ago

Still no luck. Tried clipping attached points with polygon. Note properties before and after. QGIS 1.2-trunk.

#6 Updated by Giovanni Manghi about 10 years ago

Replying to [comment:6 gislab]:

Still no luck. Tried clipping attached points with polygon. Note properties before and after. QGIS 1.2-trunk.

Ok, now I see and I confirm. Probably my first test was made with layers that had already this 32/3 values for lenght/precision.

#7 Updated by Jürgen Fischer about 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in 16b91c6b (SVN r11219)

Also available in: Atom PDF