[Gdal-dev] shifted objects in shapefiles

Bart van den Eijnden BEN at Syncera-ITSolutions.NL
Tue Nov 15 11:08:39 EST 2005


Hi Ed,

sorry for the confusion, with "shifted" I meant that the shape object of dbf record X seems to be at position X+1, as an example.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> "Ed McNierney" <ed at topozone.com> 15-11-2005 17:05:38 >>>
Bart -

How do you know they're shifted?  Shapefiles do not store projection
information (it has to be provided externally) and your symptom sounds
(at first glance) to be a projection/datum problem.

You can use shpdump to dump the coordinates of the objects in the
shapefile to examine them manually.  I would first check the projection
info for the shapefile (you can use ogrinfo).

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
ed at topozone.com 

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org 
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Bart van den
Eijnden
Sent: Tuesday, November 15, 2005 10:27 AM
To: gdal-dev at lists.maptools.org 
Subject: [Gdal-dev] shifted objects in shapefiles

Hi list,

first of all, I am not very familiar with shapefile internals, so please
ignore my possible ignorance .... and ofcourse excuse the fact that this
is a bit off-topic.

We have a problem with shifted geo-objects in shapefiles, the geometry
which is associated with a certain records is the wrong one, so things
are shifted.

Is there any way to restore this? Or are things lost?

Thanks in advance.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl 


_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org 
http://lists.maptools.org/mailman/listinfo/gdal-dev





More information about the Gdal-dev mailing list