Re: [Libosmscout-development] Is there any Windows CGI demo available?
Library for OpenStreetMap offline rendering and routing
Status: Beta
Brought to you by:
tteuling
From: David H. R. <dav...@gm...> - 2021-12-20 16:00:36
|
Hi, Thanks Lukas, for your answer. I can't test it as I can't use "Import" tool to convert/extract/Import data from OSM files. None of the 2 libraries needed are added as dependencies, I'm totally lost modifying Cmake files (I left it 30 years ago) and I don't have time to fight against it. *I hoped there were some "binary" files (libraries to link against) and some "include" files I could use in my code. And Some tools needed to generate data from OSM maps. * Thanks again for your help but I think, I'll search further to see if I can find precompiled binaries of any other library as I only need to render and draw over it using local osm files. On Mon, 20 Dec 2021 at 16:49, Lukáš Karas <luk...@ce...> wrote: > Hi David. > > Welcome on mailing list. > > Dne pondělí 20. prosince 2021 11:23:53 CET David Huelves Ramos napsal(a): > > Hello, > > > > I'm new to libosmscout. I have just downloaded from Github and generate > > from VS2019. > > > > I get lot of executable files but I don't really know where to start > > looking. > > You may start with demos in "Demos" directory. There you can find various > simple demos that shows library usage. > > > > > I've seen there is an example called DrawCGI but don't know where the > code > > is neither how to > > run it. > > Source for this demo is here: > > https://github.com/Framstag/libosmscout/blob/master/Demos/src/DrawMapGDI.cpp > > > > > What I'm looking is for an example (code) that shows the basics on > > offline OSM maps for windows that I can debug or at least see how > > could I use the library. > > Just execute that DrawCGI demo from command line, it will tell you what > arguments it expect (I have no Windows, so I cannot test it right now). > > But you will definitely will need some map database. You may download it > using > OSMScout2 demo, or import it by Import tool from OpenStreetMap extract. > > Regards, Lukas > > > > > Thanks in advance. > > > > Regards. |