Native Rendering on PC!

338 views
Skip to first unread message

Victor Shcherb

unread,
May 28, 2012, 4:36:09 PM5/28/12
to osmand
Now you can test changes in default.render.xml directly on PC! Here are native libs thta you need to specify in Settings.
On windows : 
On Linux :

Currently they are not updateable. But I can make linux version updateable I think.

However, it will be good to know if it is worth efforts.

Best Regards,
Victor

yvecai

unread,
May 29, 2012, 4:54:19 PM5/29/12
to osm...@googlegroups.com
Is this really osm maps rendering on a desktop, really ?
I tried to declare the lib in OsmandMapCreator settings, then load an
osm.bz2 file, but I have a null pointer exception.
How does it works?
Yves
Le 28/05/2012 22:36, Victor Shcherb a �crit :

Pavol Zibrita

unread,
May 29, 2012, 6:49:54 PM5/29/12
to osm...@googlegroups.com
I would say, it is rendering of the obf files on the desktop, not direct osm files.

Best regards,
Pavol

On Tue, May 29, 2012 at 10:54 PM, yvecai <yve...@gmail.com> wrote:
Is this really osm maps rendering on a desktop, really ?
I tried to declare the lib in OsmandMapCreator settings, then load an osm.bz2 file, but I have a null pointer exception.
How does it works?
Yves

Michal Gorski

unread,
May 30, 2012, 5:58:25 AM5/30/12
to Osmand

>
> >  Now you can test changes in default.render.xml directly on PC! Here are
> >> native libs thta you need to specify in Settings.
> >> On windows :
> >>http://download.osmand.net/**resource/cygwin1.dll<http://download.osmand.net/resource/cygwin1.dll>
> >>http://download.osmand.net/**resource/osmand-cygwin-x86.lib<http://download.osmand.net/resource/osmand-cygwin-x86.lib>
> >> On Linux :
> >>http://download.osmand.net/**resource/osmand-linux-x86.lib<http://download.osmand.net/resource/osmand-linux-x86.lib>
>

Can I ask for few hints how to setup this under linux or windows ?
Until know I used Android Virtual Device emulator.

Thanks in advance
Michal

Victor Shcherb

unread,
May 30, 2012, 11:28:59 AM5/30/12
to osm...@googlegroups.com
To setup on Linux (tested) download only linux lib.
Specify in settings it and run checkbox (after you can select rendering style and folder with obf files)

For Windows you need 2 libs (probably you can add to PATH variable folder with them) and specify also in settings osmand.lib.

For Windows I will test and send information if it doesn't work.


Best Regards,
Victor

2012/5/30 Michal Gorski <juliano...@googlemail.com>

Victor Shcherb

unread,
May 30, 2012, 5:03:33 PM5/30/12
to osm...@googlegroups.com
So on Windows it is still not working! It requires more dependency within cygwin and something is broken there.
I will send instruction when it will work on windows ....


Thanks,
Vcitor

2012/5/30 Victor Shcherb <victor....@gmail.com>

Hardy

unread,
May 31, 2012, 11:23:40 AM5/31/12
to Osmand
It's not really worth it for me ... :-)

I test each renderer change I make on 3 different Android devices with
different screen sizes and resolutions, and use a set of some 50
geologically interesting spots around the world (beaches, fragemented
coastlines, swamps, glacier, high density cities, mountain ranges,
areas with lots of bridges and tunnels, etc.).

So I do not really want to maintain my testing environment (together
with all the maps is takes) an yet another device ... :-)


On 28 Mai, 22:36, Victor Shcherb <victor.shch...@gmail.com> wrote:
> Now you can test changes in default.render.xml directly on PC! Here are
> native libs thta you need to specify in Settings.
> On windows :http://download.osmand.net/resource/cygwin1.dllhttp://download.osmand.net/resource/osmand-cygwin-x86.lib

Jindřich Makovička

unread,
May 31, 2012, 11:35:54 AM5/31/12
to osm...@googlegroups.com
I don't know your modus operandi, but a script that renders a bunch of
.PNG images with given map coordinates and pixel sizes could simplify
the testing a lot, and I think it's doable with OsmAnd's command line
renderer.
--
Jindřich Makovička

Hardy

unread,
May 31, 2012, 12:00:21 PM5/31/12
to Osmand
That's true. I have tried that, but found that it did in some cases
not replace looking at things on real devices and under real light
conditions (like in a car, or in direct sunlight etc.)

It is a valid way of finding coding errors (but they are not a big
issue any more, the renderer is fairly stable now). So a good deal of
the trouble was finding color shades which looked conventional, and
where useful under as many conditions as possible. I was quite
surprised how different contrast or colors can look on different
devices!

On 31 Mai, 17:35, Jindřich Makovička <makov...@gmail.com> wrote:
> I don't know your modus operandi, but a script that renders a bunch of
> .PNG images with given map coordinates and pixel sizes could simplify
> the testing a lot, and I think it's doable with OsmAnd's command line
> renderer.
>
>
>
>
>
> On Thu, May 31, 2012 at 5:23 PM, Hardy <hm.gglm...@googlemail.com> wrote:
> > It's not really worth it for me ...  :-)
>
> > I test each renderer change I make on 3 different Android devices with
> > different screen sizes and resolutions, and use a set of some 50
> > geologically interesting spots around the world (beaches, fragemented
> > coastlines, swamps, glacier, high density cities, mountain ranges,
> > areas with lots of bridges and tunnels, etc.).
>
> > So I do not really want to maintain my testing environment (together
> > with all the maps is takes) an yet another device ... :-)
>
> > On 28 Mai, 22:36, Victor Shcherb <victor.shch...@gmail.com> wrote:
> >> Now you can test changes in default.render.xml directly on PC! Here are
> >> native libs thta you need to specify in Settings.
> >> On windows :http://download.osmand.net/resource/cygwin1.dllhttp://download.osmand...
> >> On Linux :http://download.osmand.net/resource/osmand-linux-x86.lib
>
> >> Currently they are not updateable. But I can make linux version updateable
> >> I think.
>
> >> However, it will be good to know if it is worth efforts.
>
> >> Best Regards,
> >> Victor
>
> --
> Jindøich Makovièka- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

yvecai

unread,
May 31, 2012, 2:46:27 PM5/31/12
to osm...@googlegroups.com
Sorry I still don't see how to do it.
osmand.lib, default.render.xml and obf file directory OK in settings,
but how do I actually load an obf file for rendering in OsmAndMapCreator?

Yves

Victor Shcherb

unread,
May 31, 2012, 3:03:56 PM5/31/12
to osm...@googlegroups.com
It asks for a folder when you press button in that folder you can have as many as you want.

2012/5/31 yvecai <yve...@gmail.com>

yvecai

unread,
May 31, 2012, 4:04:31 PM5/31/12
to osm...@googlegroups.com
If you are like me, one trick: enlarge Osmandmapcreator windows until you see the 'Use Offline' chekbox on the top bar
Yves <:-|

Michal Gorski

unread,
Jun 6, 2012, 10:34:30 AM6/6/12
to Osmand


> On Linux :http://download.osmand.net/resource/osmand-linux-x86.lib
>
> Currently they are not updateable. But I can make linux version updateable
> I think.

Could you please update linux library ?
Current does not contain rendering based on two tags.

Thanks
Michal
Reply all
Reply to author
Forward
0 new messages