It is relatively simple CoordinateReferenceSystem crs = ... Projection projection = crs.getProjection(); ProjCoordinate latLng = new ProjCoordinate(45, 35); ProjCoordinate projected = new ProjCoordinate(); projection.transform(latLng, projected); ...
python,gcc,compiler-errors,pip,proj
The problem is that the version of GCC on your VM is defaulting to the ISO C90 standard but the pyproj code is incompatible with that. To force GCC to use C99 instead you need to set the CFLAGS environment variable accordingly, try export CFLAGS='-std=c99' then run pip install pyproj...
python,pandas,data-analysis,matplotlib-basemap,proj
This is resolved by changing m(cat_data.LONGITUDE, cat_data.LATITUDE) to m(cat_data.LONGITUDE.values, cat_data.LATITUDE.values), thanks to Alex Messina's finding. With a little further study of mine, pandas changed that Series data of DataFrame (derived from NDFrame) should be passed with .values to a Cython function like basemap/proj since v0.13.0 released on 31 Dec 2013...