Reputation
Top tag
Next privilege 50 Rep.
Comment everywhere
Badges
8
Newest
 Supporter
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 3 votes cast
Feb
9
comment ogr2ogr Shapefiles to Postgres SRS problem
I checked in the spatialreference web site and there is also the wrong projection definition (spatialreference.org/ref/epsg/ed50-utm-zone-31n/proj4). Is there some better oficial place where to reference for up to date information about the projections definitions? Thanks
Feb
9
accepted ogr2ogr Shapefiles to Postgres SRS problem
Feb
9
comment ogr2ogr Shapefiles to Postgres SRS problem
Ok Francesco: 1) I checked it and data source are OK. 2-3) On my windows computer QGIS reprojection works OK! So as you said in the 4) it has to be some problem with the projection definitions in my ubuntu server. I checked the 23031 definition: "<23031> +proj=utm +zone=31 +ellps=intl +units=m +no_defs <>", and it seems that there is missing the parameter "+towgs84=-87,-98,-121,0,0,0,0" as @user30184 has said in another comment. How would you recommend to fix it? Editing the "epsg" file with that parameter?
Feb
9
comment ogr2ogr Shapefiles to Postgres SRS problem
Ok sorry @user30184, I did not realise it was in the Fracesco answer.. "/usr/share/proj/epsg"
Feb
9
comment ogr2ogr Shapefiles to Postgres SRS problem
@user30184, Do you know where can I find the Projections definitions in my gdal-bin package (version 1.7.3-6ubuntu3)?
Feb
3
comment ogr2ogr Shapefiles to Postgres SRS problem
Sorry @Andrej but I can not share that shapefiles, I will work in the Francesco answer, and if not in the upgrade packages option. Thanks for your comment;)
Feb
3
comment ogr2ogr Shapefiles to Postgres SRS problem
That was my expectation, the transformation to be able to be performed between any 2 SRS. Is there any way to check that transformation? There is no error and the new "pruebashp2shp.prj" file content describes the new projection (ETRS89_UTM_zone_31N).
Feb
2
comment ogr2ogr Shapefiles to Postgres SRS problem
I start to think about upgrading my Gdal-Bin package version cause I know it is quite old and that could be some bug that have been solved in later versions..
Feb
2
comment ogr2ogr Shapefiles to Postgres SRS problem
I did it already before printing the transformed layer. I added an official cadastral layer with the EPSG:25831 SRS and it coincide with the original EPSG:23031, but not with the layer transformed to EPSG:25831. Thank you anyway:)
Feb
2
revised ogr2ogr Shapefiles to Postgres SRS problem
added 479 characters in body
Feb
2
comment ogr2ogr Shapefiles to Postgres SRS problem
Thank you @tilt, I tried it and the result shapefile is also moved to the East in the same way, I opened it with QGIS to compare it with the origin layer.
Feb
2
asked ogr2ogr Shapefiles to Postgres SRS problem
Feb
2
awarded  Supporter
Jan
25
awarded  Tumbleweed
Jan
18
revised Openlayers-2 restrict zoom levels relative to restricted extent
added 1 character in body; edited title
Jan
18
revised Openlayers-2 restrict zoom levels relative to restricted extent
added 554 characters in body
Jan
18
asked Openlayers-2 restrict zoom levels relative to restricted extent
Dec
21
accepted Gdal ogrinfo CSV unable to open datasource
Dec
18
comment Gdal ogrinfo CSV unable to open datasource
Yes, I will, but first I will have to update the Server OS, because I am developing a functionality in a Web Server, and before this I have to arrange some other dependencies. Don't worry, thank you, but with this conclusion I take this question as Solved:)
Dec
18
awarded  Commentator