<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear list,<br>
using the spatial join function of gvSIG 1.9 can create some problems
regarding the attribute table / field definition.<br>
In my case, one original layer contains integer values in the attribute
table (like house-number). When doing a spatial join,<br>
the resulting layer will have decimal places, which does not really
make sense and is a problem for address data (for example).<br>
Below, you see the output of ogrinfo for the original and the resulting
layer. I'll report this as a bug in the bugtracker. BTW, it is strange
that ogrinfo says "Real" and gvSIG describes the <br>
same column as integer. Mwah.<br>
<br>
<br>
__Original <a class="moz-txt-link-freetext" href="file:__">file:__</a><br>
ogrinfo-output<br>
INFO: Open of
`/mnt/wolfgang.qual/sun5310.rgu.muenchen.de/uis/muc/shapes_geodatenpool/aktuell/vagrund_hausnr_feb2009.shp'<br>
      using driver `ESRI Shapefile' successful.<br>
<br>
Layer name: vagrund_hausnr_feb2009<br>
Geometry: Point<br>
Feature Count: 147514<br>
Extent: (4453141.502585, 5325338.164620) - (4478908.212025,
5345491.606355)<br>
Layer SRS WKT:<br>
(unknown)<br>
ROWID: String (1.0)<br>
OGR_FID: Real (18.0)<br>
OBJEKT_ID: String (7.0)<br>
NR: String (8.0)<br>
LAND: Real (18.0)<br>
REGIERUNGS: Real (18.0)<br>
KREIS: Real (18.0)<br>
GEMEINDE: Real (18.0)<br>
STRASSE: Real (18.0)<br>
STRANAM: String (254.0)<br>
HAUSNR: Real (18.0)<br>
[...]<br>
<br>
<br>
__resulting layer of the spatial join__<br>
INFO: Open of `/tmp/spatial_test.shp'<br>
      using driver `ESRI Shapefile' successful.<br>
<br>
Layer name: spatial_test<br>
Geometry: Point<br>
Feature Count: 12990<br>
Extent: (4456831.519996, 5332176.685383) - (4461744.250227,
5336611.573443)<br>
Layer SRS WKT:<br>
(unknown)<br>
ROWID: String (254.0)<br>
OGR_FID: Real (18.5)<br>
OBJEKT_ID: String (254.0)<br>
NR: String (254.0)<br>
LAND: Real (18.5)<br>
REGIERUNGS: Real (18.5)<br>
KREIS: Real (18.5)<br>
GEMEINDE: Real (18.5)<br>
STRASSE: Real (18.5)<br>
STRANAM: String (254.0)<br>
HAUSNR: Real (18.5)<br>
[...]
<div class="moz-signature">-- <br>
<table bgcolor="white" border="0" cellpadding="3" cellspacing="0"
 width="350">
  <tbody>
    <tr>
      <td colspan="2" bgcolor="#330066"><img
 src="cid:part1.09080506.02080909@muenchen.de" alt="" border="0"
 height="35" width="170"></td>
    </tr>
    <tr>
      <td align="left" bgcolor="#330066" valign="bottom" width="3"> <br>
      </td>
      <td valign="top"><font
 face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="2"> <b>Wolfgang
Qual<br>
      <br>
      </b> </font> <font
 face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="1"><big> <b>Referat
für Gesundheit und Umwelt</b></big><br>
Umweltschutz<br>
Umweltvorsorge<br>
RGU-UW 11<br>
      <br>
Bayerstraße 28a<br>
80335 München<br>
      <br>
Telefon +49 - 89 - 233 - 4 77 17<br>
Telefax +49 - 89 - 233 - 4 77 05<br>
      <br>
      <a class="moz-txt-link-freetext"
 href="http://www.muenchen.de/umweltatlas">http://www.muenchen.de/umweltatlas</a><br>
      <a class="moz-txt-link-abbreviated"
 href="mailto:uw11.rgu@muenchen.de">uw11.rgu@muenchen.de</a><br>
      </font></td>
    </tr>
    <tr>
      <td colspan="2" valign="top"><small><font
 face="Helvetica, Arial, sans-serif"> Bitte beachten Sie die Hinweise
zur elektronischen<br>
Kommunikation mit der Landeshauptstadt München:<br>
      <a class="moz-txt-link-freetext"
 href="http://www.muenchen.de/ekomm">http://www.muenchen.de/ekomm</a></font></small></td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>