[Gvsig_english] problem with gvSIG 1.10 and spatial join

Wolfgang Qual wolfgang.qual at muenchen.de
Thu Feb 10 12:53:54 CET 2011


Dear list,

I just tried to assign features of a polygon theme to a point theme 
using the geoprocess spatial join (option: nearest neighbour), but got 
an error message instead of a result.
The error message is: can't find file: 
/opt/uis/muc/grenzen/shapes/bezirk.shp in a driver: gvSIG shp driver
bezirk.shp is the source polygon theme. I made some other trials using 
other polygon shapefiles, but got the same error. Very strange. From the 
logfile:

[...]
DEBUG AWT-EventQueue-1 com.iver.core.mdiManager.NewSkin - Activando 
Informations-Konsole
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory 
usage 105633 KB
DEBUG AWT-EventQueue-1 com.iver.core.mdiManager.NewSkin$FrameListener - 
Zentrum zurückgebenAnsicht : Ohne Titel - 0
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory 
usage 107138 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory 
usage 62273 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory 
usage 62126 KB
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Konnte 
Übersetzung nicht finden für: PluginServices.Procesando
DEBUG Thread-97 com.iver.andami.messages.NotificationManager -
com.iver.cit.gvsig.geoprocess.core.fmap.GeoprocessException: Error al 
procesar los datos durante un spatial join
at 
com.iver.cit.gvsig.geoprocess.impl.spatialjoin.fmap.SpatialJoinGeoprocess$SpatialJoinMonitorableTask.run(SpatialJoinGeoprocess.
java:461)
at 
com.iver.utiles.swing.threads.MonitorableDecoratorMainFirst.run(MonitorableDecoratorMainFirst.java:155)
at com.iver.andami.PluginServices$1.construct(PluginServices.java:405)
at com.iver.utiles.swing.threads.SwingWorker$2.run(SwingWorker.java:108)
at java.lang.Thread.run(Unknown Source)
DEBUG AWT-EventQueue-1 com.iver.core.mdiManager.NewSkin - Activando 
Informations-Konsole
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory 
usage 128149 KB
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin 
com.iver.core -- Konnte Übersetzung nicht finden für: Informations-Konsole
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin 
com.iver.core -- Konnte Übersetzung nicht finden für: Aktiviert das Fenster
DEBUG Thread-28 com.iver.andami.messages.NotificationManager - Can´t 
find file: /opt/uis/muc/grenzen/shapes/bezirk96.shp
in a driver: gvSIG shp driver
Can´t find file: /opt/uis/muc/grenzen/shapes/bezirk96.shp
in a driver: gvSIG shp driver
at 
com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.open(IndexedShpDriver.java:184)
at 
com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.start(VectorialFileAdapter.java:106)
at 
com.iver.cit.gvsig.fmap.drivers.featureiterators.DefaultFeatureIterator.<init>(DefaultFeatureIterator.java:135)
at 
com.iver.cit.gvsig.fmap.drivers.featureiterators.DefaultFeatureIterator.<init>(DefaultFeatureIterator.java:149)
at 
com.iver.cit.gvsig.fmap.drivers.featureiterators.SpatialQueryFeatureIterator.<init>(SpatialQueryFeatureIterator.java:128)
at 
com.iver.cit.gvsig.fmap.layers.VectorialAdapter.getFeatureIterator(VectorialAdapter.java:219)
at com.iver.cit.gvsig.fmap.layers.FLyrVect._draw(FLyrVect.java:399)
at com.iver.cit.gvsig.fmap.layers.FLyrVect.draw(FLyrVect.java:636)
at 
com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:209)
at 
com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)
at com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1097)
at 
com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)
at 
com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: 
/opt/uis/muc/grenzen/shapes/bezirk96.shp (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at 
com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.open(IndexedShpDriver.java:159)
... 13 more
DEBUG AWT-EventQueue-1 com.iver.core.mdiManager.NewSkin - Activando 
Informations-Konsole

I thought the problem could be related to the fact that the source theme 
was a 2D Polygon theme. Therefore, I converted it using ogr2ogr into 
"normal" Polygon. However, this did not solve the problem. Any ideas? By 
the way: I am using gvSIG 1.10 on a linux machine.

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