[Gvsig_english] gvSIG and 3d-polygons
Wolfgang Qual
wolfgang.qual at muenchen.de
Mon Feb 21 18:30:05 CET 2011
Dear list,
we do have quite some data in an oracle geospatial database. Layers can
be imported into gvSIG, and it is also possilbe to export those layers
into shp-format. Very good. However, the exported shapefiles still do
have some 3d-information and this causes some problems in gvSIG.
Example: copy&paste features (one of the new extensions of gvSIG). Here,
the "paste" command does not work, if the source theme is a 3d polygon
layer. If I use ogr2ogr to "convert" the source theme into a "normal"
polygon layer, it is possible to paste features.
From the command line:
ogrinfo -al
/opt/uis/muc/shapes_geodatenpool/2010/vagrund/flurstck_2010_02.shp|less
brings:
INFO: Open of
`/opt/uis/muc/shapes_geodatenpool/2010/vagrund/flurstck_2010_02.sh
p'
using driver `ESRI Shapefile' successful.
Layer name: flurstck_2010_02
Geometry: 3D Polygon
Feature Count: 157638
Extent: (4452550.890000, 5324953.400000) - (4479484.080000, 5345694.050000)
Layer SRS WKT:
(unknown)
ROWID: String (1.0)
OGR_FID: Real (18.0)
OBJEKT_ID: String (7.0)
FOLIE: Real (18.0)
OBJEKTART: Real (18.0)
X: Real (18.6)
Y: Real (18.6)
NUTZUNGSAR: Real [...]
I used this command to convert the source file into a "normal" polygon
shapefile:
ogr2ogr -f "ESRI Shapefile" /tmp/flur -nlt POLYGON
/opt/uis/muc/shapes_geodatenpool/2010/vagrund/flurstck_2010_02.shp
Hope that this post is not that confusing. Have to catch my train... ;)
Any ideas 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