[Qgis-user] projection change

ahmet temiz ahmettemiz88 at gmail.com
Thu Dec 17 00:49:04 PST 2009


thank you

I tried as you have suggested. But there seems to be something wrong.

resulting map's extent looks weird.

$ ogr2ogr -t_srs EPSG:4326 -s_srs  '+proj=lcc +lat_1=40.66666666
+lat_2=43.333333333 +lat_0=41 lon_0=34.0 +x_0=1000000 +y_0=0
+datum=wgs84 spheroid=wgs84 +units=m' geohidro_cizgi_adf2.shp
hidro_cizgi_adf.shp
orkun at orkun-desktop:~$
orkun at orkun-desktop:~$
orkun at orkun-desktop:~$ ogrinfo geohidro_cizgi_adf2.shp -al -summary
INFO: Open of `geohidro_cizgi_adf2.shp'
      using driver `ESRI Shapefile' successful.

Layer name: geohidro_cizgi_adf2
Geometry: Line String
Feature Count: 4929
Extent: (-28.672066, 75.100678) - (37.866883, 81.508631)  *****
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)
HIDRO_CIZG: Integer (10.0)
F_CODE: String (80.0)
F_NAME: String (80.0)
SYMBOL: Integer (10.0)
DISPSCALE: Integer (10.0)


2009/12/16 Micha Silver <micha at arava.co.il>:
> ahmettemiz88 at gmail.com wrote:
>
>> hello
>>
>> I have difficulty changing map projection from lamber conical to
>> geographic ?
>>
>> how can I do that ?
>>
>> here is the original map's metada:
>>
>> 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 tried with ogr2ogr :
>>
>> ogr2ogr -t_srs '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' -s_srs
>> '+proj=lcc +lat_1=40.66666666 +lat_2=43.333333333 +lat_0=0 lon_0=34
>> +x_0=1000000 +y_0=0 +datum=wgs84 +units=meter' geohidro_cizgi_adf94.shp
>> hidro_cizgi_adf.shp
>>
>>
> I think you might be having trouble with the quoting. Maybe try with just
> the EPSG code, i.e.:
> ogr2ogr -t_srs EPSG:4326 geohidro_cizgi_adf94.shp hidro_cizgi_adf.shp
>
> --
> Micha
>>
>> regards
>>
>> Ahmet Temiz
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>
>



More information about the Qgis-user mailing list