Author Topic: Tools for modifying rules xml file  (Read 1612 times)

Offline electricpete

  • Newbie
  • *
  • Posts: 2
    • View Profile
Tools for modifying rules xml file
« on: October 22, 2012, 04:24:12 »
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?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline voldapet

  • Administrator
  • Padavan of Locus
  • *****
  • Posts: 459
  • Thanked: 8 times
    • View Profile
Re: Tools for modifying rules xml file
« Reply #1 on: October 22, 2012, 08:31:42 »
Hello,
For edit XML file I can suggest SW Notepad++.
http://notepad-plus-plus.org/
There is also plugin called XML Tools.

I had same problem with  Osmarender Frontend. You need to use only Firefox version 3.x. Higher version does not work.
Regards Petr
« Last Edit: January 01, 1970, 01:00:00 by Guest »