GeoscienceAustralia / ga-worldwind-suite

A collection of tools created by the Geoscience Australia (GA) Movies and 3D Visualisation (M3DV) team. The tools are built around the NASA World Wind Java SDK, an open-source virtual globe toolkit.
40 stars 24 forks source link

ga-worldwind tiler #101

Closed luitsurendra closed 10 years ago

luitsurendra commented 11 years ago

Hi

  1. I am using mapnik 2.0.1 in window environment. I make a map and style is written in XML document. For this XML file I render a tif image from mapnik. How this XML file used in World wind tiler. When I use this XML file in World wind tiler it is giving error while I load this XML file " WARNING - java.lang.NullPointerException and WARNING - Could not read map sector, setting sector to full globe. Kindly suggest me.
  2. Also guide me how to render geopdf or geotiff image from mapnik using my XML file.

thanks

surendra

mdehoog commented 10 years ago

The Tiler is using a C# binding for Mapnik obtained from here (http://sourceforge.net/projects/mapniknet/). This is based on an old version of Mapnik. You can test your XML file by using the nik2img.exe (from the command line) in the Tiler/mapnik directory. I suspect your XML mapnik file is using some newer features from version 2.0.1, and is therefore failing in the Tiler.

We would certainly welcome an update to nik2img.exe built with the latest version of Mapnik.

luitsurendra commented 10 years ago

What are the limitations with mapnik version 2.0.1 which tiler is using it for all type of features –point, line, polygon and text). Also I was sharing the approach with creating tiff using python with created mapnik xml and then tiler for cutting tiles.

On Tue, Sep 17, 2013 at 5:29 AM, Michael de Hoog notifications@github.comwrote:

The Tiler is using a C# binding for Mapnik obtained from here ( http://sourceforge.net/projects/mapniknet/). This is based on an old version of Mapnik. You can test your XML file by using the nik2img.exe (from the command line) in the Tiler/mapnik directory. I suspect your XML mapnik file is using some newer features from version 2.0.1, and is therefore failing in the Tiler.

We would certainly welcome an update to nik2img.exe built with the latest version of Mapnik.

— Reply to this email directly or view it on GitHubhttps://github.com/ga-m3dv/ga-worldwind-suite/issues/101#issuecomment-24554661 .

Thanks & regards

Surendra Misra

jfnavin commented 10 years ago

Because we use the C# .Net bindings (http://sourceforge.net/projects/mapniknet/), it is a little unclear exactly which version of the official Mapnik tool is being used. You can find release notes for the official tool at https://github.com/mapnik/mapnik/wiki/_pages (see pages titled "ReleaseX.X.X"). That might give you some hints as to what is likely to be supported. In general though, we have never had problems with basic styling properties.

If you are interested in using Mapnik as a standalone tool for rendering geopdf and geotiff outputs (rather than for generating tilesets via the Tiler application), you might have more luck looking through the official Mapnik github project https://github.com/mapnik/mapnik. There is lots of good documentation in their wiki, and their issue register might be a more appropriate place for mapnik-specific questions.

Cheers, James