Solimyr,
Since mean_provaimp didn't have any extent data at first, it is created
during the ogr2ogr process. There must be some features that are beyond the
extents of the other shapefile for this to have extended extents.
FYI, the bounds are stored in the .shp file's header from the 37th to 68th
Thx for the answers, now I get the right srs but the extent is different:
SHAPE 1 ( the one where I want to get the info and copy to the new)
$ ogrinfo -al provaimp.shp
INFO: Open of `provaimp.shp'
using driver `ESRI Shapefile' successful.
Layer name: provaimp
Geometry: Polygon
Feature Coun
Exactly.
On Mon, Jul 11, 2011 at 8:31 PM, Solimyr wrote:
> Sorry, I do not understand...You mean to write the spatialRef to a txt file
> and then doing something like:
>
> $ ogr2ogr -a_srs spatialRef.txt dst_shape.shp src_shape.shp
>
> Is this what you mean? Where inside the txt file there is
Sorry, I do not understand...You mean to write the spatialRef to a txt file
and then doing something like:
$ ogr2ogr -a_srs spatialRef.txt dst_shape.shp src_shape.shp
Is this what you mean? Where inside the txt file there is:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_19
Solimyr,
It's hard to express the SRS WKT on command line. The easiest way is to save
the srs wkt into a file and use the filename in place of the srs_def for the
-a_srs option in the command.
On Mon, Jul 11, 2011 at 3:42 PM, Solimyr wrote:
> Thx, I tried to copy the file .prj but didn't work s
Thx, I tried to copy the file .prj but didn't work so I moved to use the
ogr2ogr method using -a_srs but I'm not able to do that...
I get the spatialRef using ogrinfo, like:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_1984",637813.0,298.252223563]],
PRIMEM["Greenwich",0