<!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 -> 2D</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>> You're not very explicit about what you want to do. From the tile, I guess<BR>
> you want to get rid of the Z coordinate of the geometry to produce 2D only<BR>
> 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 "Geometry: 3D Line String".<BR>
Each object is reported as "LINESTRING" with x-, y- and z-value.<BR>
If I use "-nlt LINESTRING" I get a file where ogrinfo reports that the file<BR>
is a "Geometry: Line String" and the elements are "LINESTRING" with<BR>
only a x- and y-value.<BR>
If I try the "-lco SHPT=ARC" 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 "getGeometryType()" it reports<BR>
a "wkbGeometryCollection".<BR>
<BR>
Any hints?<BR>
<BR>
Christoph<BR>
</FONT>
</P>
</BODY>
</HTML>