Code Monkey home page Code Monkey logo

Comments (6)

ncaldwell avatar ncaldwell commented on July 20, 2024

Do you have the .net framework installed? You need .net framework 4 for it to work.

from ga-worldwind-suite.

bharatig avatar bharatig commented on July 20, 2024

yes .. I have already installed .net framework 4

from ga-worldwind-suite.

jfnavin avatar jfnavin commented on July 20, 2024

Hi,

This is a tricky one - I haven't been able to reproduce it.

Have you confirmed the map.xml file you are selecting is a valid mapnik document? It may be that the tiler is not reporting the error correctly. Is there any additional error output in the log panel or console window? Are you able to run Nik2Img.exe on its own from the command line? (it is located in the \mapnik directory)

Could you please post details of your system configuration (Operating system, service packs, .NET framework version, java version). It may help isolate the problem.

Cheers,

James

from ga-worldwind-suite.

bharatig avatar bharatig commented on July 20, 2024

Hi James,

Thanks for your reply.
I am using the same file which is given in mapnik_example folder. I am able to run Nik2Img.exe from command line it is giving help message.
following is the error message written on the console window of application

[18:00:25] - INFO - Started
[18:02:34] - SEVERE -
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'mapnik_c.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at MapnikCs.DatasourceCache.DatasourceCache_RegisterDatasources(String path, IntPtr& error)
at MapnikCs.DatasourceCache.RegisterDatasources(String path)
at Nik2Img.Program.Main(String[] args)

and my system configuration is--

Operating System- Windows XP
Service pack- 2
.Net FrameWork version- Micrtosoft .Net Framework 4 Extended
java version-jdk6.17

Regards
Bharti

from ga-worldwind-suite.

jfnavin avatar jfnavin commented on July 20, 2024

Hi Bharti,

Have you tried running Nik2Img.exe with valid command line arguments? The minimum arguments are -m and -o. Does it work? Or does it fail with the same error as reported in the Tiler application?

The missing DLL message looks like its a DLL search path problem. You may have one of the DLLs either already loaded from somewhere else or in your System32 folder etc. You could try using something like dependency walker (http://www.dependencywalker.com/) to inspect where the DLLs are being loaded from. Alternatively, try doing a search of your System32 folder for the DLLs contained in the mapnik directory.

Hope this helps.

Cheers,

James

from ga-worldwind-suite.

bharatig avatar bharatig commented on July 20, 2024

Hi James

I have tried to run Nik2Img with command line by giving the following commnad--

Nik2Img.exe -m "E:\ga\ga-m3dv-ga-worldwind-suite-d717c37\Tiler\mapnik_example\map.xml" -e

but it is giving the same error .
See System32 folder but could not find mapnik_c.dll
also use dependency walker but nothing found.

Regards
bharti

from ga-worldwind-suite.

Related Issues (20)

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.