[Gdal-dev] ogr2ogr Point not Point ZM

Frank Warmerdam warmerdam at pobox.com
Thu Jan 5 14:27:59 EST 2006


On 1/5/06, Alex Mandel <tech_dev at wildintellect.com> wrote:
> When I do:
> ogr2ogr -update -append two.shp one -nln two one -nlt POINT
>
> The appended file, which has no points to begin with(but is basically
> the same as the original with a couple of extra fields and the points
> removed) ends up with geometry of type POINT ZM(3D). I need it to simply
> be POINT(2D), no z or m values. ArcGIS software handles POINT and POINT
> ZM very  differently so they are two distinctly different options.
>
> I thought I had solved it by adding the -nlt POINT portion but it turns
> out that didn't have any effect.

Alex,

If two.shp already exists, then whether it is POINT or POINTZM is
already established.  How are you creating it?

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list