mapnik

not able to build mod_tile on openSUSE

て烟熏妆下的殇ゞ 提交于 2019-12-12 04:53:34
问题 i tried to build the mod_tile as in the link then i was getting the same error and tried came got the fix from this forum i exported these export CXXFLAGS="$(mapnik-config --cflags)" export LDFLAGS="$(mapnik-config --ldflags)" adding #include at the top of src/gen_tile.cpp and changed the Makefile with --std=gnu++11 and i'm new to the linux and the cpp Making all in iniparser3.0b make[1]: Entering directory `/root/src/mod_tile/iniparser3.0b' make[1]: Nothing to be done for `all'. make[1]:

OpenStreetMap - java library to handle offline map

偶尔善良 提交于 2019-12-11 19:20:12
问题 I need to create an application that would run on a linux system. Basically, I want to achieve something like Google Maps, but with much less functionality. The application needs to be able to do the followings: open and display offline maps, as there won't be any internet connection there will be a static route, like a railway, that has to be displayed, it won't change there will be one dynamically changing point, it should be updated I never really developed this kind of an application, I

Render or not to render? Building a tile server

允我心安 提交于 2019-12-11 13:44:08
问题 So here I come with my first Stackoverflow question:) It's been already some days spent on building my own tile server. As many others I followed instructions written on switch2osm site and unfortunately got no luck. When I run command renderd -f -c /etc/renderd.conf it seems to start to prepare itself but then it stops without any error and nothing happens. The last message it shows is: renderd[4226] <Debug>: Using web mercator projection settings and ... silence! Please help me, I'm going

OSM Mapnik Integration

南楼画角 提交于 2019-12-11 07:15:56
问题 I am Trying to Implement OSM and Mapnik. My requirement is to show a Custom map to the end user(First layer of Basic Map and Second Layer of Map generated by the Data). I've Started by implementing Demo Examples from Mapnik but didn't get enough Idea. Here is what I've tried, App.js var mapnik = require('mapnik'); var fs = require('fs'); /// Register fonts and datasource plugins mapnik.register_default_fonts(); mapnik.register_default_input_plugins(); var map = new mapnik.Map(1280, 720); map

I get an error saying socket bind failed for: /var/run/renderd/renderd.sock if i am a regular user else everything works fine?

懵懂的女人 提交于 2019-12-04 02:59:15
问题 I am trying to manually build a map server as per instructions on switch2osm.org. I have configured everything. I have a database mayank owned by user mayank and I am trying to use renderd but i get this error socket bind failed for: /var/run/renderd/renderd.sock. Now if i switch to root and do the same it runs perfectly no direct permission issues because i have changed the owner for the directories recursively. But there might be some intermediate permission issues. I can not run it as root

Homebrew + Python on mac os x 10.8: Fatal Python error: PyThreadState_Get: no current thread importing mapnik

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have 2 pythons on my mac (10.8.3): The default, and 2.7 version from homebrew. So far, I could install modules and use them with my brew python. I installed mapnik with brew install mapnik (mapnik-2.1.0) and it compiled correctly. But, if I open python and enter import mapnik , the following error comes and python exits: >>> import mapnik Fatal Python error : PyThreadState_Get : no current thread Abort trap : 6 Mac os x also shows an error window, with the following content: Process : Python [ 60666 ] Path : /usr/ local / Cellar

postgis loader issues metadata queries but not data query

China☆狼群 提交于 2019-12-01 11:32:53
EDIT 1: I just discovered postgis has an ST_AsMVT function built in, which does exactly what I want (I think), so I'm not going to use mapnik at all! EDIT 2: unfortunately that function isn't yet in a released version of PostGIS, but hopefully it will be within the next few weeks. Originally posted as a github issue . When I do something like the following, with logging turned on for my DB, I see that some "metadata" requests are made to postgis, however, no actual data query is ever made. The requests for metadata are (presumably) needed for the logic relating to field names/types and extent

postgis loader issues metadata queries but not data query

落花浮王杯 提交于 2019-12-01 09:16:44
问题 EDIT 1: I just discovered postgis has an ST_AsMVT function built in, which does exactly what I want (I think), so I'm not going to use mapnik at all! EDIT 2: unfortunately that function isn't yet in a released version of PostGIS, but hopefully it will be within the next few weeks. Originally posted as a github issue. When I do something like the following, with logging turned on for my DB, I see that some "metadata" requests are made to postgis, however, no actual data query is ever made. The

Homebrew + Python on mac os x 10.8: Fatal Python error: PyThreadState_Get: no current thread importing mapnik

六眼飞鱼酱① 提交于 2019-11-26 04:47:36
问题 I have 2 pythons on my mac (10.8.3): The default, and 2.7 version from homebrew. So far, I could install modules and use them with my brew python. I installed mapnik with brew install mapnik (mapnik-2.1.0) and it compiled correctly. But, if I open python and enter import mapnik , the following error comes and python exits: >>> import mapnik Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6 Mac os x also shows an error window, with the following content: Process: Python