[Gdal-dev] Shape file header content

Frank Warmerdam warmerdam at pobox.com
Fri Jan 20 09:27:20 EST 2006


On 1/20/06, sheba thomas <sheb_susan at yahoo.com> wrote:
>  i'm trying to import shape file to a .vec file map , but not getting the
> correct order .i'm not sure weather i'm getting all the values of Shape file
> header . so please any one can suggest  the header structure and order of
> the shape file header content.

Sheba,

I think you will need to provide more details.  What command
are you using?  What is a .vec file?  What makes you think the
order is wrong?

The ogr2ogr utility will convert features in the order they
appear in the shapefile with the possible exeption of when
you have an OGR supported spatial index (.qix) and you issue
a spatial query, in which case the shapes may be returned in
quadtree ordering.  Hmm, on second though, I think they are
returned "in order" even then.  I do a special pass ordering the
shapeids read from the quadtree.

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