thanks for that... I'm getting closer ....<br><br>sebas@SeansPC:~/gdal$ time ogr2ogr -f OCI OCI:geoserver/geoserver@MFproduk_11g ../shapes/Fluvial_Extents/FluvialUD04Q200Outline.shp -lco srid=81989 -lco PRECISION=NO -progress -lco DIM=2<br>
0...10...20...30...40...50...60...70...80...90...100 - done.<br>ERROR 1: ORA-13223: duplicate entry for FLUVIALUD04Q200OUTLINE.ORA_GEOMETRY in SDO_GEOM_METADATA<br>ORA-06512: at "<a href="http://MDSYS.MD">MDSYS.MD</a>", line 1723<br>
ORA-06512: at "MDSYS.MDERR", line 17<br>ORA-06512: at "MDSYS.SDO_GEOM_TRIG_INS1", line 48<br>ORA-04088: error during execution of trigger 'MDSYS.SDO_GEOM_TRIG_INS1'<br> in INSERT INTO USER_SDO_GEOM_METADATA VALUES ('FLUVIALUD04Q200OUTLINE', 'ORA_GEOMETRY', MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',138874.997,654690.003,0.001),MDSYS.SDO_DIM_ELEMENT('Y',15619.997,814145.0030999999,0.001)), 81989)<br>
<br>real 0m42.414s<br>user 0m19.900s<br>sys 0m0.440s<br><br><br><div class="gmail_quote">On Mon, Jul 26, 2010 at 1:11 PM, Rahkonen Jukka <span dir="ltr"><<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
<a href="http://gdal.org/ogr/drv_oci.html" target="_blank">http://gdal.org/ogr/drv_oci.html</a> says:<br>
Layer Creation Options<br>
DIM: This may be set to 2 or 3 to force the dimension of the created layer. If not set 3 is used by default.<br>
<br>
Have you tried that?<br>
<font color="#888888"><br>
-Jukka-<br>
</font><div><div></div><div class="h5"><br>
Sebastian E. Ovide wrote:<br>
<br>
<br>
On Fri, Jul 23, 2010 at 7:38 PM, Jukka Rahkonen<br>
<<a href="mailto:jukka.rahkonen@mmmtike.fi">jukka.rahkonen@mmmtike.fi</a>>wrote:<br>
<br>
> Validate geometries<br>
<br>
validating geometries it came out: ORA-54668: a 2D SRID cannot be used with<br>
a 3D geometry<br>
<br>
therefore I've used the option -nlt POINT as suggested<br>
<a href="http://osgeo-org.1803224.n2.nabble.com/howto-flattening-of-3D-shapefiles-td3038433.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/howto-flattening-of-3D-shapefiles-td3038433.html</a><br>
<br>
but I still get the same ORA-54668 validation error...<br>
<br>
any ideas ?<br>
<br>
<br>
--<br>
Sebastian E. Ovide<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br><br>