[MacPorts] #56429: mapnik @3.0.19_1+gdal+libxml2+postgis+sqlite: Missing proj4 supports
MacPorts
noreply at macports.org
Fri May 4 13:09:16 UTC 2018
#56429: mapnik @3.0.19_1+gdal+libxml2+postgis+sqlite: Missing proj4 supports
-------------------------+--------------------
Reporter: dmarteau | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.3
Keywords: | Port: mapnik
-------------------------+--------------------
Trying to run mapnik-python against macport installed mapnik library leads
to the following error
{{{
RuntimeError: Cannot initialize proj_transform for given projections
without proj4 support
(-DMAPNIK_USE_PROJ4): '+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 +no_defs'->'+proj=lcc +ellps=GRS80 +lat_0=49
+lon_0=-95 +lat+1=49 +lat_2=77
+datum=NAD83 +units=m +no_defs'
}}}
mapnik-config --cflags --cxxflags return the following
{{{
-I/opt/local/include -I/opt/local/include/mapnik/agg
-I/opt/local/include/mapnik -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include/libxml2
-I/opt/local/include/postgresql10
-DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT
-DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DHAVE_PNG
-DHAVE_WEBP -DHAVE_TIFF -DDARWIN -DMAPNIK_THREADSAFE
-DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1
-DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1
-DNDEBUG -DGRID_RENDERER
-DHAVE_LIBXML2 -std=c++11 -stdlib=libc++ -Os -stdlib=libc++
-fvisibility=hidden
-fvisibility-inlines-hidden -Wall -ftemplate-depth-300 -Wsign-compare
-Wshadow -O3
-std=c++11 -stdlib=libc++ -Os -stdlib=libc++ -fvisibility=hidden
-fvisibility-inlines-hidden -Wall
-ftemplate-depth-300 -Wsign-compare -Wshadow -O3
}}}
In appears that mapnik is not compiled wint proj4 supports and there is no
variants for enabling this.
Please could you add MAPNIK_USE_PROJ4 supports as variant ?
Thanks.
--
Ticket URL: <https://trac.macports.org/ticket/56429>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list