[mkgmap-dev] mkgmap-dev Digest, Vol 24, Issue 1
From Attila Szász tilusnet at gmail.com on Thu Jul 1 12:46:37 BST 2010
Thanks Chris, I did use v117 (latest), but I just ran the job again in a different folder, and it seems to work! - it's replacing the in-field apostrophes with '. So what must have happened is that I originally run splitter v83 WITH cache, and then I reran it with v117 in the same folder, which possibly didn't solve the problem due to the existing cache created by v83. D'oh. My bad. Attila > ---------- Forwarded message ---------- > From: Chris Miller <chris_overseas at hotmail.com> > To: mkgmap-dev at lists.mkgmap.org.uk > Date: Wed, 30 Jun 2010 11:57:09 +0000 (UTC) > Subject: Re: [mkgmap-dev] Splitter changes double quotes to single > quotes... anddisturbs mkgmap > Hi Attila, > > I'm guessing the decision to use single quotes rather than double quotes > was an arbitrary one; some source OSM files use single quotes too, and > trying to preserve the source quoting style adds additional overhead. The > real problem is that the data is not being escaped properly, however it > looks like there was a fix for this made in r100 of the splitter. What > version are you using? > > Chris > > > Hi, >> >> I've recently noticed that the splitter will create .osm files with >> values in single quotes. Is there a strong reason to do so while the >> original input .osm file has double quotes around values? >> >> The problem arose when some .osm "role" keys contained single quotes, >> such as relation #172045 - right before the end of this file there's a >> value with single quote >> >> <member type="node" ref="533796734" role="Addenbrooke's"/> >> >> which splitter "converts" to >> >> <member type='node' ref='533796734' role='Addenbrooke's'/> >> >> making mkgmap to complain about a "bad file" and to stop processing >> further. >> >> Anyone encountered this? >> >> Thanks, >> Attila >> > > > > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100701/feb016c7/attachment.html
- Next message: [mkgmap-dev] mkgmap-dev Digest, Vol 24, Issue 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list