[Gvsig_english] gvSIG, geoprocesses, union - does not work for me!
Wolfgang Qual
wolfgang.qual at muenchen.de
Thu Apr 14 12:50:47 CEST 2011
Dear list,
I made several attempts to apply gvSIG's union function to two
shapefiles. However, the process will end
in the middle, with the following error message in the console:
null java.lang.IllegalStateException: Can't overwrite cause
java.lang.Throwable.initCause(Throwable.java:320)
com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
com.iver.cit.gvsig.fmap.edition.writers.shp.MultiShpWriter.getPointsWriter(MultiShpWriter.java:226)
com.iver.cit.gvsig.fmap.edition.writers.shp.MultiShpWriter.process(MultiShpWriter.java:242)
com.iver.cit.gvsig.geoprocess.core.fmap.FeaturePersisterProcessor2.processFeature(FeaturePersisterProcessor2.java:102)
com.iver.cit.gvsig.geoprocess.impl.intersection.fmap.IntersectVisitor$1.visit(IntersectVisitor.java:251)
com.iver.cit.gvsig.fmap.operations.strategies.ShpStrategy.process(ShpStrategy.java:731)
com.iver.cit.gvsig.fmap.operations.strategies.ShpStrategy.process(ShpStrategy.java:670)
com.iver.cit.gvsig.geoprocess.impl.intersection.fmap.IntersectVisitor.visit(IntersectVisitor.java:211)
com.iver.cit.gvsig.fmap.operations.strategies.DefaultStrategy.process(DefaultStrategy.java:398)
com.iver.cit.gvsig.geoprocess.impl.union.fmap.UnionGeoprocess$UnionMonitorableTask.run(UnionGeoprocess.java:378)
com.iver.utiles.swing.threads.MonitorableDecoratorMainFirst.run(MonitorableDecoratorMainFirst.java:155)
com.iver.andami.PluginServices$1.construct(PluginServices.java:405)
com.iver.utiles.swing.threads.SwingWorker$2.run(SwingWorker.java:108)
java.lang.Thread.run(Unknown Source) null
java.lang.ClassCastException:
com.hardcode.gdbms.engine.values.StringValue cannot be cast to
com.hardcode.gdbms.engine.values.NumericValue
com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileWriterNIO.fieldString(DbaseFileWriterNIO.java:259)
com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileWriterNIO.write(DbaseFileWriterNIO.java:159)
com.iver.cit.gvsig.fmap.edition.writers.shp.ShpWriter.process(ShpWriter.java:302)
com.iver.cit.gvsig.fmap.edition.writers.shp.MultiShpWriter.process(MultiShpWriter.java:252)
com.iver.cit.gvsig.geoprocess.core.fmap.FeaturePersisterProcessor2.processFeature(FeaturePersisterProcessor2.java:102)
com.iver.cit.gvsig.geoprocess.impl.difference.fmap.DifferenceVisitor.visit(DifferenceVisitor.java:294)
com.iver.cit.gvsig.fmap.operations.strategies.DefaultStrategy.process(DefaultStrategy.java:398)
com.iver.cit.gvsig.geoprocess.impl.union.fmap.UnionGeoprocess$UnionMonitorableTask.run(UnionGeoprocess.java:399)
com.iver.utiles.swing.threads.MonitorableDecoratorMainFirst.run(MonitorableDecoratorMainFirst.java:155)
com.iver.andami.PluginServices$1.construct(PluginServices.java:405)
com.iver.utiles.swing.threads.SwingWorker$2.run(SwingWorker.java:108)
java.lang.Thread.run(Unknown Source) null
java.lang.ClassCastException:
com.iver.cit.gvsig.project.documents.table.gui.Table cannot be cast to
com.iver.cit.gvsig.project.documents.view.gui.View
com.iver.cit.gvsig.geoprocess.core.fmap.AbstractGeoprocess.getResult(AbstractGeoprocess.java:201)
com.iver.cit.gvsig.geoprocess.core.gui.AddResultLayerTask.run(AddResultLayerTask.java:191)
com.iver.utiles.swing.threads.MonitorableDecoratorMainFirst.run(MonitorableDecoratorMainFirst.java:158)
com.iver.andami.PluginServices$1.construct(PluginServices.java:405)
com.iver.utiles.swing.threads.SwingWorker$2.run(SwingWorker.java:108)
java.lang.Thread.run(Unknown Source)
I do not know what causes this error. Any ideas?
Then, I tried to use the "union" function of sextante. But this will
only creat a result for a very small part of the whole shapefile. Does
sextante's union process work at all?
I am using gvSIG 1.10 on a linux machine.
All comments are welcome!
Best,
Wolfgang
--
Wolfgang Qual
Landeshauptstadt München
Referat für Gesundheit und Umwelt
Umweltschutz, Umweltvorsorge
RGU-UW 11
Team Klimaschutz, Energie
Bayerstraße 28a
80335 München
Telefon: +49 - 89 - 233 - 4 77 17
Telefax: +49 - 89 - 233 - 4 77 05
E-Mail: wolfgang.qual at muenchen.de
Internet: http://www.muenchen.de/rgu
Bitte beachten Sie die Hinweise zur elektronischen
Kommunikation mit der Landeshauptstadt München:
http://www.muenchen.de/ekomm
More information about the Gvsig_internacional
mailing list