Re: [Libosmscout-development] .oss style generator
Library for OpenStreetMap offline rendering and routing
Status: Beta
Brought to you by:
tteuling
|
From: Lukáš K. <luk...@ce...> - 2016-07-20 06:21:07
|
Some required packages are probably missing. You can see all required dependencies in Dockerfile for Ubuntu build: https://github.com/Framstag/libosmscout/blob/master/ci/docker/ ubuntu_15.10_gcc_cmake/Dockerfile Try install these: apt-get update && apt-get install -y \ git make libtool pkg-config \ libxml2-dev libprotobuf-dev protobuf-compiler \ libagg-dev \ libfreetype6-dev \ libcairo2-dev \ libpangocairo-1.0-0 libpango1.0-dev \ qt5-default qtdeclarative5-dev libqt5svg5-dev qtlocation5-dev \ freeglut3 freeglut3-dev \ libmarisa-dev I tried this dockerfile with latest ubuntu (16.10) and it works well. Lukas Dne úterý 19. července 2016 10:13:55 CEST Nicholas Hubbard napsal(a): > I installed cmake and qt but still get these errors: > > CMake Error at CMakeLists.txt:5 (message): > Qt5Core is required for StyleEditor application > > > CMake Error at CMakeLists.txt:8 (message): > Qt5Gui is required for StyleEditor application > > > CMake Error at CMakeLists.txt:11 (message): > Qt5Widgets is required for StyleEditor application > > > CMake Error at CMakeLists.txt:14 (message): > Qt5Qml is required for StyleEditor application > > > CMake Error at CMakeLists.txt:17 (message): > Qt5Quick is required for StyleEditor application > > > CMake Error at CMakeLists.txt:20 (message): > Qt5Svg is required for StyleEditor application > > > CMake Warning (dev) in CMakeLists.txt: > No cmake_minimum_required command is present. A line of code such as > > cmake_minimum_required(VERSION 3.5) > > Any ideas? Running on Ubuntu. > > Nic > > Nicholas Hubbard > Owner > Zed Said Studio LLC > www.zedsaid.com > ni...@ze... > > > On Jul 19, 2016, at 9:30 AM, Lukáš Karas <luk...@ce...> wrote: > > > > You were faster fladimir :) > > > > Or you can use cmake to compile everything: > > > > checkout repository, go to repository directory > > > > mkdir build > > cd build > > cmake -DOSMSCOUT_ENABLE_SSE=true .. > > make > > > > > > Then you can start StyleEditor by command: > > > > ./StyleEditor/StyleEditor /path/to/map/database > > ../stylesheets/standard.oss > > > > Lukas > > > > Dne úterý 19. července 2016 18:20:08 CEST Vladimir Vyskocil napsal(a): > >>> On 19 Jul 2016, at 18:18, Nicholas Hubbard <ni...@ze...> wrote: > >>> > >>> Are there instructions for compiling it? I don’t see any make files or > >>> config. > >> > >> You should build it with QtCreator using the .pro file > >> > >>> Nicholas Hubbard > >>> Owner > >>> Zed Said Studio LLC > >>> www.zedsaid.com <http://www.zedsaid.com/> > >>> ni...@ze... <mailto:ni...@ze...> > >>> > >>>> On Jul 19, 2016, at 9:15 AM, Vladimir Vyskocil > > > > <vla...@gm... <mailto:vla...@gm...>> wrote: > >>>>> On 19 Jul 2016, at 17:48, Nicholas Hubbard <ni...@ze... > >>>>> <mailto:ni...@ze...>> wrote: > >>>>> > >>>>> So there is a style editor? How does it work, is it HTML? Do I need to > >>>>> compile it?>> > >>>> > >>>> Yes more or less, it is a Qt application derived from Osmscout2. You > >>>> should compile it. It would need a lot of work (that I don’t have now) > >>>> to match MapBox Studio but it is useful for me :-)>> > >>>> > >>>>> Thanks, > >>>>> > >>>>> Nicholas Hubbard > >>>>> Owner > >>>>> Zed Said Studio LLC > >>>>> www.zedsaid.com <http://www.zedsaid.com/> > >>>>> ni...@ze... <mailto:ni...@ze...> > >>>> > >>>> Regards, > >>>> Vlad. > >>>> > >>>>>> On Jul 19, 2016, at 1:24 AM, Lukáš Karas <luk...@ce... > >>>>>> <mailto:luk...@ce...>> wrote: > >>>>>> > >>>>>> Hi Nicholas. > >>>>>> > >>>>>> OSS file is standard text file, so you can edit it in any text > >>>>>> editor. > >>>>>> Style syntax is described here: > >>>>>> http://libosmscout.sourceforge.net/documentation/stylesheet/ > >>>>>> <http://libosmscout.sourceforge.net/documentation/stylesheet/> > >>>>>> > >>>>>> Any powerful tool like MapBox Studio is not available, we only have > >>>>>> StyleEditor that allows you to edit style file and re-rendered map > >>>>>> with > >>>>>> current style by single button. > >>>>>> > >>>>>> Note that current StyleEditor contains bug: > >>>>>> https://github.com/Framstag/libosmscout/pull/69 > >>>>>> <https://github.com/Framstag/libosmscout/pull/69> So, if you will be > >>>>>> affected by SIGSEGV crashes, try out my branch. > >>>>>> > >>>>>> Default style needs some improvements and we definitely needs more > >>>>>> map > >>>>>> styles for hike, bike, car navigation (current motorways.oss style is > >>>>>> broken) and other activities. If you have some time for creating new > >>>>>> styles, let us know what you need... > >>>>>> > >>>>>> Lukas > >>>>>> > >>>>>> Dne pondělí 18. července 2016 15:33:42 CEST Nicholas Hubbard napsal(a): > >>>>>>> Are there any style generators out there that I could use to style > >>>>>>> our > >>>>>>> maps > >>>>>>> and then create .oss files? Similar to how MapBox has a style > >>>>>>> generator? > >>>>>>> > >>>>>>> Nicholas Hubbard > >>>>>>> Owner > >>>>>>> Zed Said Studio LLC > >>>>>>> www.zedsaid.com <http://www.zedsaid.com/> > >>>>>>> ni...@ze... <mailto:ni...@ze...> > >>>>> > >>>>> ---------------------------------------------------------------------- > >>>>> -- > >>>>> ------ What NetFlow Analyzer can do for you? Monitors network > >>>>> bandwidth > >>>>> and traffic patterns at an interface-level. Reveals which users, apps, > >>>>> and protocols are consuming the most bandwidth. Provides multi-vendor > >>>>> support for NetFlow, J-Flow, sFlow and other flows. Make informed > >>>>> decisions using capacity planning > >>>>> reports.http://sdm.link/zohodev2dev___________________________________ > >>>>> _ > >>>>> ___________ > >>>>> <http://sdm.link/zohodev2dev__________________________________________ > >>>>> _ > >>>>> ____> Libosmscout-development mailing list > >>>>> Lib...@li... > >>>>> <mailto:Lib...@li...> > >>>>> https://lists.sourceforge.net/lists/listinfo/libosmscout-development > >>>>> <https://lists.sourceforge.net/lists/listinfo/libosmscout-development> |