[gdal-dev] wrong about the project conversion

ahmettemiz88 at gmail.com ahmettemiz88 at gmail.com
Thu Dec 17 13:56:26 EST 2009


hello

what is wrong about this project conversion ?
resulting map does not seem to be in lat/long.

Here is the original map's metadata:

name: Lambert Conformal Conic
proj: lcc
datum: wgs84
ellps: wgs84
lat_1: 40.66666666666666
lat_2: 43.33333333333334
lat_0: 0
lon_0: 34
x_0: 1000000
y_0: 0
no_defs: defined


I try to convert it to lat/long like this:

~$ ogr2ogr -t_srs EPSG:4326 -s_srs '+proj=lcc +lat_1=40.66666666  
+lat_2=43.333333333 +lat_0=0 lon_0=34.0 +x_0=1000000 +y_0=0 +datum=wgs84  
+units=m' geohidro_cizgi_adf9.shp hidro_cizgi_adf.shp

~~~~
Result seems to be wrong:

$ ogrinfo geohidro_cizgi_adf9.shp -al -summary
INFO: Open of `geohidro_cizgi_adf9.shp'
using driver `ESRI Shapefile' successful.

Layer name: geohidro_cizgi_adf9
Geometry: Line String
Feature Count: 4929
Extent: (-8.914342, 34.000149) - (11.953119, 42.237237) *** looks weird for  
Turkey
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_1984",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
UserId: Integer (10.0)
FNODE_: Integer (10.0)
TNODE_: Integer (10.0)
LPOLY_: Integer (10.0)
RPOLY_: Integer (10.0)
LENGTH: Real (32.3)
HIDRO_CIZG: Integer (10.0)


I will appreciate if you explain what to do

kind regards

Ahmet Temiz
TURKEY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091217/6b29896e/attachment.html


More information about the gdal-dev mailing list