Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - electricpete

#1
If you open these files in notepad, there is no indentation.

I found html kit is a good program to edit the rule xml file while viewing the formatting
http://download.cnet.com/HTML-Kit/3000- ... ag=mncol;2

I also see a very interesting program Osmarender Frontend which is supposed to provide a graphic front-end where you load a rule file and a data file and the result is rendered, then we can click/modify the style of the resulting map file and it is supposed to produce corresponding changes to the rules xml file.
http://wiki.openstreetmap.org/wiki/Osmarender_Frontend
Unfortunatley I wasn't able to get this program to work. I downloaded the "offline" version to my harddrive, unzipped, opened the osmarender_frontend.html file in Firefox 15, and tried to load the preset files. I tried many combinations of data files and rule files. For example
data file = somewhere_in_london.xml, rules file = osm-map-features-z12.xml.  Each time after I press the load button, the status bar "Getting Rules File Elements" appears and freezes 2/3 of the way through.  I got that result no matter what combination of data file and rules file I tried.  

Has anyone had luck using Osmarender Frontend?
Does anyone have other suggestions for tools to adjust the xml rule files?
#2
Sebastian (s_wimmer)
THANKS for this valuable contribution!
It is a big improvement in usefulness of this Locus for automotive on-road purposes.
I liked it so much that I had to register just to express my thanks.

The big challenges in using Locus with vector maps and the original OsmRender have been that there are not enough street/highway labels and they're not big enough.  
Specifically
1 – When zooming out, the street/highway labels disappear.  For level 13 or lower there are NO street/highway labels, not even interstate highways!  That makes it hard to zoom out to get an idea of what's up far ahead in a long trip (you can see roads but no street names). I find myself continually zooming in and out to get a broad view of my trip, while still keeping track of the individual roads.
2 – There are not enough street/highway labels.  Minor street labels don't show up until zoomed way in. Highway labels are too far apart.
3 – Street/highway labels are too small to view on my phone screen with phone mounted on my dashboard. If I adjust the settings/advanced/textsize to make streetnames bigger, then even more of them disappear (Problem #2 gets worse).  
4 – Farm Market Roads (state of Texas, US) are not labeled at all at any zoom level even though they are major roads!

Using your Classic Maps, there is huge improvement in item 1 and some improvement in items 2 and 3
Regarding item 1 – With classic theme, I can now see major highway names all the way to level 10 zoom, which is FANTASTIC!!!!
Regarding item 2 – With classic theme, there are more highway labels (they are closer together), which is another big improvement. However there is no improvement in ability to see minor street labels without zooming way in.
Regarding item 3 – some of the major street name labels are larger in the classic theme.  The smaller street labels remain too small on my screen.