Giter Club home page Giter Club logo

go-mapnik's Issues

Any plans to support mapnik v3?

./mapnik_c_api.cpp:2:10: fatal error: 'mapnik/graphics.hpp' file not found

Darn brew upgrade and didn't notice it took mapnik 3.0.0. But if this can be updated easily to support 3.0, i'll hold-off on downgrading my mapnik.

Thanks

Reads from and writes to mbtiles database are inefficient

There's only a single goroutine that serves reads from the mbtiles database. This is very slow, especially since the reads are blocking.
m.fetch should run in a goroutine.
Similarly m.insert should also be executed in a goroutine. Sqlite should be able to handle locking.

Add a Version()

Add a Version() function that shows exactly which mapnik version is linked.

Plans to support vector tiles?

This is a great looking project, and the tileserver is nice addition. I noticed it supports .png tiles as of now. Any plans to support mapbox vector tiles?

OSX Build failure - Unicode header

I am getting This issue:

jacobs-imac:mapnik j$ ./configure.bash
# github.com/fawick/go-mapnik/mapnik
In file included from ./mapnik_c_api.cpp:5:
In file included from /usr/local/include/mapnik/agg_renderer.hpp:28:
In file included from /usr/local/include/mapnik/feature_style_processor.hpp:27:
In file included from /usr/local/include/mapnik/datasource.hpp:28:
In file included from /usr/local/include/mapnik/params.hpp:28:
/usr/local/include/mapnik/value_types.hpp:27:10: fatal error: 'unicode/unistr.h' file not found

I googled around and it appears that my ICU library may need to be updated. It looks like quite a chore to install from source so I was wondering if it's an issue anyone else came across before or if I'm doing something wrong.

OSX Build failure

On OSX, I ran

'brew install mapnik'.

I assumed that this is the equivalent to

'apt-get install libmapnik-dev'

It failed straight away with clang

jacobs-imac:mapnik j$ ./configure.bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5171  100  5171    0     0   7824      0 --:--:-- --:--:-- --:--:--  7834
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2347  100  2347    0     0  11580      0 --:--:-- --:--:-- --:--:-- 11561
# github.com/fawick/go-mapnik/mapnik
Undefined symbols for architecture x86_64:
  "boost::system::system_category()", referenced from:
      boost::mutex::mutex() in mapnik_c_api.cpp.o
      boost::mutex::unlock() in mapnik_c_api.cpp.o
      boost::unique_lock<boost::mutex>::lock() in mapnik_c_api.cpp.o
      boost::mutex::lock() in mapnik_c_api.cpp.o
      __GLOBAL__I_a in mapnik_c_api.cpp.o
  "boost::system::generic_category()", referenced from:
      __GLOBAL__I_a in mapnik_c_api.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Provide bindings for loading stylesheet directly from a string, not from file

You currently only provide:
func (m *Map) Load(stylesheet string) error, where "stylesheet" is read as a filename (the parameter name should make this more obvious). So there is no way to create a map from a dynamically-generated stylesheet.

The python bindings provide a mapnik.load_map_from_string to accomplish this.

Parameter type "gdal" does not work

This is my sample style.xml, it work shp file only.

<Style name="color relief style"> </Style> <Style name="slopeshade style"> </Style> <Style name="hillshade style"> </Style> <Style name="contours style"> </Style> color relief style gdal data/S07E106_utm48s_relief.tif slopeshade style gdal data/S07E106_utm48s_slopeshade.tif hillshade style gdal data/S07E106_utm48s_hs.tif contours style shape data/s07e106_25m.shp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.