Re: [OSM-dev] OSM in a C apps

2009-11-11 Thread Vladislav Shikhov
Look at http://www.novopia.com/emerillon/

On Tue, Nov 10, 2009 at 8:57 PM, Atton Jonathan
jonathan.at...@gmail.com wrote:
 Hello,

 I am not an openstreetmap user, consequently I do not know a lot about it.

 I am written a C application and I wish to integrate a map. My application
 is free (license LGPL), consequently I plan to use a free map and
 openstreetmap is the perfect choice for this. I am a developer in the
 project Enlightenment (windows manager + set of libraries + application) and
 I want to write a gui widget for the project and my application.

 Today, what is the best way to display OSM in a C application ? I saw
 Mapnick, I need to look deeper in this way but boost is required and I
 preferred to avoid big dependencies.

 What type of data should I use, download a jpeg/png directly ? or the data
 and create the map (this is what Mapnick does if I understand well) ?

 --
 Regards.

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev



___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] OSM in a C apps

2009-11-10 Thread Atton Jonathan
Hello,

I am not an openstreetmap user, consequently I do not know a lot about it.

I am written a C application and I wish to integrate a map. My application
is free (license LGPL), consequently I plan to use a free map and
openstreetmap is the perfect choice for this. I am a developer in the
project Enlightenment (windows manager + set of libraries + application) and
I want to write a gui widget for the project and my application.

Today, what is the best way to display OSM in a C application ? I saw
Mapnick, I need to look deeper in this way but boost is required and I
preferred to avoid big dependencies.

What type of data should I use, download a jpeg/png directly ? or the data
and create the map (this is what Mapnick does if I understand well) ?

-- 
Regards.
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] OSM in a C apps

2009-11-10 Thread Lynn W. Deffenbaugh (Mr)
I've done the same thing with an amateur radio APRS client that uses 
OpenStreetMap.org maps.  I learned about the tile names at the following 
URL and did the code to download the appropriate PNG tiles at the 
selected zoom level and stitched them together for display.  Slick as pie!

http://wiki.openstreetmap.org/index.php/Slippy_map_tilenames

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile

Atton Jonathan wrote:
 Hello,

 I am not an openstreetmap user, consequently I do not know a lot about it.

 I am written a C application and I wish to integrate a map. My 
 application is free (license LGPL), consequently I plan to use a free 
 map and openstreetmap is the perfect choice for this. I am a developer 
 in the project Enlightenment (windows manager + set of libraries + 
 application) and I want to write a gui widget for the project and my 
 application.

 Today, what is the best way to display OSM in a C application ? I saw 
 Mapnick, I need to look deeper in this way but boost is required and I 
 preferred to avoid big dependencies.

 What type of data should I use, download a jpeg/png directly ? or the 
 data and create the map (this is what Mapnick does if I understand well) ?

 -- 
 Regards.
 

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev
   


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] OSM in a C apps

2009-11-10 Thread Ævar Arnfjörð Bjarmason
On Tue, Nov 10, 2009 at 5:57 PM, Atton Jonathan
jonathan.at...@gmail.com wrote:
 Hello,

 I am not an openstreetmap user, consequently I do not know a lot about it.

 I am written a C application and I wish to integrate a map. My application
 is free (license LGPL), consequently I plan to use a free map and
 openstreetmap is the perfect choice for this. I am a developer in the
 project Enlightenment (windows manager + set of libraries + application) and
 I want to write a gui widget for the project and my application.

 Today, what is the best way to display OSM in a C application ? I saw
 Mapnick, I need to look deeper in this way but boost is required and I
 preferred to avoid big dependencies.

 What type of data should I use, download a jpeg/png directly ? or the data
 and create the map (this is what Mapnick does if I understand well) ?

If you just want to display a map widget somewhere then just
downloading tiles and displaying them is going to be a lot easier.
There are numerous applications to do this in numerous languages,
here's one in C/GTK:

http://nzjrs.github.com/osm-gps-map/

You could also get the raw data and render it yourself using mapnik
but that's going to be a lot more complex to maintain.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] OSM in a C apps

2009-11-10 Thread Raphaël Jacquot
On Tue, 2009-11-10 at 12:57 -0500, Atton Jonathan wrote:
 Hello,
 
 I am not an openstreetmap user, consequently I do not know a lot about
 it.
 
 I am written a C application and I wish to integrate a map. My
 application is free (license LGPL), consequently I plan to use a free
 map and openstreetmap is the perfect choice for this. I am a developer
 in the project Enlightenment (windows manager + set of libraries +
 application) and I want to write a gui widget for the project and my
 application.
 
 Today, what is the best way to display OSM in a C application ? I saw
 Mapnick, I need to look deeper in this way but boost is required and I
 preferred to avoid big dependencies. 
 
 What type of data should I use, download a jpeg/png directly ? or the
 data and create the map (this is what Mapnick does if I understand
 well) ?

what you want is here :

http://projects.gnome.org/libchamplain/


 -- 
 Regards.
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev



___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev