[Gdal-dev] Wrong geometry type detected

Petteri Packalen packalen at cs.joensuu.fi
Mon Jan 30 13:34:59 EST 2006


Frank et al.

I observed that the OGR recognizes incorrect point type in some occasions. 
When the real point type is wkbPoint25D but the Z-value is exactly zero 
getGeometryType() returns wkbPoint. This happens at least when the 
shapefile driver is used (GDAL 1.2.6.0).

I cannot see this to be preferred logic, or do I miss something?

Best regards,
Petteri

=========================================================================
Petteri Packalén 
University of Joensuu 
Faculty of Forestry 
P.O. Box 111 
80101 Joensuu
Finland 
e-mail: packalen at cs.joensuu.fi 
=========================================================================


More information about the Gdal-dev mailing list