<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>AW: [gdal-dev] Shape files 3D -&gt; 2D</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>&gt; You're not very explicit about what you want to do. From the tile, I guess<BR>
&gt; you want to get rid of the Z coordinate of the geometry to produce 2D only<BR>
&gt; geometries ?<BR>
<BR>
Okay, sorry, I will describe it with more detail.<BR>
<BR>
I have a shape file where ogrinfo reports it is a &quot;Geometry: 3D Line String&quot;.<BR>
Each object is reported as &quot;LINESTRING&quot; with x-, y- and z-value.<BR>
If I use &quot;-nlt LINESTRING&quot; I get a file where ogrinfo reports that the file<BR>
is a &quot;Geometry: Line String&quot; and the elements are &quot;LINESTRING&quot; with<BR>
only a x- and y-value.<BR>
If I try the &quot;-lco SHPT=ARC&quot; option, it's the same.<BR>
But, if I iterate over those files in my application and query the<BR>
geometry to get the geometry-type via &quot;getGeometryType()&quot; it reports<BR>
a &quot;wkbGeometryCollection&quot;.<BR>
<BR>
Any hints?<BR>
<BR>
Christoph<BR>
</FONT>
</P>

</BODY>
</HTML>