Tag Info

New answers tagged

0

Besides GDAL/Fiona you can alternatively use PyCRS, a package written in pure Python specifically for defining and converting between and projection formats. So in your case: import pycrs wktstring = ...


3

The official definition for EPSG:3857 is +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs As you see, it is calculated on a sphere (a=b). Your formula is a bit contradictory: You define a lat-long coordinate system on the WGS84 ellispoid, then you add +init=epsg:3857 which should ...


0

What are you actually doing? If you get your coordinates in to 4326 using Proj4, then you can add those points straight to the map, or form geojson points and add them. I'm suspicious you're overthinking it though! Check out the top example here: http://leafletjs.com/examples/geojson.html - it should be obvious from there how to go from lat/lon (WGS, ...


1

NAD83(CSRS) (which is based on ITRF96(1997.0)) is not a simple transformation away from WGS84. It's anchored to the North American plate, which is rotating counter-clockwise, and uplifting -- in some places rapidly -- due to isostatic rebound. Proj doesn't know anything about this. It can transform from geographic to geocentric and UTM, and it can shift from ...


1

You were are actually converting from EPSG:4917 (ITRF96), not EPSG:4326 (WGS84). See the TRX online utility from NRCan to do this conversion: Unfortunately you cannot use PROJ.4 to convert ITRF projections; see enhancement ticket #154. If you were using WGS84 in place of ITRF96, then your steps with pyproj were fine. However, if you need ITRF96, then ...


2

The warning saying 'Northing and Easting must be in decimal form' doesn't have anything to do with the Proj4 params. You're getting that error as you are either: not putting anything in the test North/East fields, or putting non-numeric values in (i.e a coordinate in degrees, minutes, seconds) and then clicking calculate. You don't have to test. Just ...


0

I found the solution using org2ogr library by using ogr2ogr -s_srs EPSG:2100 -t_srs EPSG:3035 outfile.shp infile.shp


3

After several wrong ways, including multiple reinstall of libproj0 package and even installing QGIS from sources different from the Ubuntu Software Center default (I think it's from the official QGIS repository - http://qgis.org/debian trusty main), I understood how to apply advice by @EvilGenius: ldd ogrinfo didn't show libproj no matter how many times I ...



Top 50 recent answers are included