Hello,

Moataz Elmasry wrote:
> Hi Habib
> 
> Habib Ahmed wrote:
>> Hi there,
>>
>> I am newbie and looking to develop an offline navigator based on the
>> shapefiles. So far I have been able to render shapefiles in WPF (.Net
>> framework 4.0), but now I am trying to use Mapnik for map rendering
>> (for better performance), I was able to install it and run the demo
>> application based on python. My problem is that I am a C# .Net
>> framework developer and doesn't have much experience with either C or
>> Python. Could you guys direct me to some starting point. I was able to
>> download the example code in C++ from the following source
>> _http://trac.mapnik.org/wiki/ExampleCode#CCode_
> If you are just trying to display a map, I don't think you need to look
> at the c++ examples at all.
> You just need to know how to install a WMS OSM server for example
> http://wiki.openstreetmap.org/wiki/WMS

Habib is developping an *offline* navigator. A local WMS server may work
in some cases but it looks like an overkill to me.

>>
>> now I am not sure what IDE to use on Windows, can I use Visual Studio
>> 2010 or is there any specific IDE you could suggest. 
> Speaking of myself I use mainly eclipse, where you can also install
> python and c++ editor plugins to it. Net Beans is very famous too, there
> are also other less famous IDE's but I don't know alot about them
> 
>> Also why do we need Python (is it just for Front End ?).
> No also at the backend, either c++/python are used as the backend
> server, for tile server for example or to render images

Mapnik is basically a C++ library for map drawing. The functionnalities
it provides are implemented in C++ and you can of course use it in C++.

But Mapnik also offers Python bindings. It means that the
functionnalities *coded in C++* are made available in Python as regular
Python functions and methods. So you can use this C++ library in Python
as well.

Depending on the choices you've made for your project, you may use
either Python or C++, up to you ;)

Regards
Gilles

-- 
Gilles Bassière - Web/GIS software engineer
http://gbassiere.free.fr/
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to