If you generate new samples, I can test with the latest josm if you want. Looking at the 082H04 sample file (I modified all the offending tags that were preventing loading so that they had k="adam" v="crasher" so I could identify them), there doesn't seem to be a pattern to which objects get the null tags. Some are water related, some are roads, some have names, some don't, etc. Don't know where it would be coming from.<br>
<br>As for the data itself, most seems quite good. Comparing the sample file to Toporama WMS, I noticed that waterfalls are missing from the sample osm file. Are they available in the Canvec data?<br><br>It looks like roads that are dead-ends have turning circles by default, with a note to remove if it doesn't actually exist? Interesting choice of how to set things up.<br>
<br>Adam<br><br><div class="gmail_quote">On Wed, May 5, 2010 at 1:44 PM, Bégin, Daniel <span dir="ltr"><<a href="mailto:Daniel.Begin@rncan-nrcan.gc.ca">Daniel.Begin@rncan-nrcan.gc.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span>Thanks Adam,</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span>obviously it seems there being bad tags in the
samples. I'll replace the samples. </span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span>About the conversion script, it should be OK
because I have succesfully created/uploaded many tiles since then
using JOSM.</span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span><a href="http://www.openstreetmap.org/?lat=45.371&lon=-72.271&zoom=11&layers=B000FTF" target="_blank">http://www.openstreetmap.org/?lat=45.371&lon=-72.271&zoom=11&layers=B000FTF</a></span></font></div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span>Daniel</span></font></div><br>
<div dir="ltr" lang="en-us" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:talk-ca-bounces@openstreetmap.org" target="_blank">talk-ca-bounces@openstreetmap.org</a>
[mailto:<a href="mailto:talk-ca-bounces@openstreetmap.org" target="_blank">talk-ca-bounces@openstreetmap.org</a>] <b>On Behalf Of </b>Adam
Dunn<br><b>Sent:</b> 5 mai 2010 16:29<br><b>To:</b> Talk-CA
OpenStreetMap<div><div></div><div class="h5"><br><b>Subject:</b> Re: [Talk-ca] Canvec.osm
samples<br></div></div></font><br></div><div><div></div><div class="h5">
<div></div>Got a response on the error here [<a href="http://josm.openstreetmap.de/ticket/4971" target="_blank">http://josm.openstreetmap.de/ticket/4971</a>].
Turns out there is a malformed tag, that doesn't have key or value in it (a null
tag)<br>Here's line 16220 (the offending tag):<br><tag/><br>To compare,
here's line 16221 (a properly formed tag):<br><tag k="waterway"
v="stream"/><br><br>The josm developer has put in a better error message
regarding what the problem is, but josm still will not load the file.<br><br>So
does this come down to there being a bad tag in the original Canvec data, or
does the conversion script need some modifying?<br><br>Adam<br><br>
<div class="gmail_quote">On Fri, Apr 30, 2010 at 7:02 PM, Sam Vekemans <span dir="ltr"><<a href="mailto:acrosscanadatrails@gmail.com" target="_blank">acrosscanadatrails@gmail.com</a>></span>
wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Ideas:<br>-mention this on the irc #osm-dev chat. As a JOSM
develepor might be<br>able to help further<br>-zipping : try .bz2 compression,
instead of regular zip, maybe it does<br>something different to the .osm
data?<br>-at that same time (with that new josm revision, WMS didnt work for
some people)<br>-josm doesnt automatically update all the plugins, when you
get a new<br>version of the main exe file,<br>-Osmosis is the tool to combine
.osm files, i havent yet been<br>sucessful at merging them (on the command
line)<br>-each node would need a new ID, when merging files, maybe there is
a<br>max # of features?<br>-Also, i'll check with user:MikeyCarter as he has
gone ahead and<br>converted canvec for the Barrie Ontario area, using a
customized<br>method.<br><br>Cheers,<br><font color="#888888">Sam<br></font>
<div>
<div></div>
<div><br>On 4/30/10, Adam Dunn <<a href="mailto:dunnadam@gmail.com" target="_blank">dunnadam@gmail.com</a>> wrote:<br>> If
I understand correctly, older versions of JOSM would open the file<br>>
correctly, but new versions will have problems? I'm not the only one
here?<br>><br>> I got the josm svn from this morning (rev 3213), opened
it up in Eclipse,<br>> did some debugging, and see that for
082H04_Sample.osm, the error occurs on<br>> or near line 16217. It may not
be Josm that is at fault, since it seems to<br>> handle most other osm
files quite well.<br>><br>> Please see <a href="http://josm.openstreetmap.de/ticket/4971" target="_blank">http://josm.openstreetmap.de/ticket/4971</a> for the bug that I
just<br>> filed.<br>><br>> Adam<br>><br>> On Fri, Apr 30, 2010
at 10:04 AM, Daniel Bégin <<a href="mailto:jfd553@hotmail.com" target="_blank">jfd553@hotmail.com</a>>
wrote:<br>><br>>> Hi Adam,<br>>><br>>> I looked at
Canvec.osm sample files about one month ago and did not get<br>>>
any<br>>> problems with an earlier version of JOSM (before 3196). I've
just tried<br>>> using JOSM 3196 and I got the same error message. I'm
running on Windows.<br>>><br>>> No good explanation to give
:-(<br>>><br>>> Daniel<br>>><br>>> -----Original
Message-----<br>>> From: Adam Dunn [mailto:<a href="mailto:dunnadam@gmail.com" target="_blank">dunnadam@gmail.com</a>]<br>>> Sent:
April 29, 2010 12:46<br>>> To: Sam Vekemans<br>>> Cc: Daniel
Bégin; Talk-CA OpenStreetMap<br>>> Subject: Re: [Talk-ca] Canvec.osm
samples<br>>><br>>> I'm getting NullPointerException in JOSM for
all three files, and making<br>>> sure the line feeds are unix (since
I'm on linux) doesn't help. This is<br>>> with<br>>> JOSM
3208.<br>>><br>>> Open file: /home/adam/Desktop/021L14_sample.osm
(2796211 bytes)<br>>>
org.openstreetmap.josm.io.IllegalDataException:<br>>>
java.lang.NullPointerException<br>>> at
org.openstreetmap.josm.io.OsmReader.parseDataSet(OsmReader.java:586)<br>>>
at<br>>>
org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:42)<br>>>
at<br>>>
org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:34)<br>>>
at<br>>><br>>>
org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImport<br>>>
er.java:57)<br>>> at<br>>><br>>>
org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFi<br>>>
leAction.java:263)<br>>> at<br>>><br>>>
org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileA<br>>>
ction.java:242)<br>>> at<br>>><br>>>
org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.j<br>>>
ava:83)<br>>> at<br>>><br>>>
org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:12<br>>>
9)<br>>> at<br>>>
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br>>>
...... more stack that goes into java api libraries<br>>> Caused by:
java.lang.NullPointerException<br>>> at<br>>>
org.openstreetmap.josm.data.osm.Storage$1.getHashCode(Storage.java:317)<br>>>
at
org.openstreetmap.josm.data.osm.Storage.getBucket(Storage.java:246)<br>>>
at
org.openstreetmap.josm.data.osm.Storage.get(Storage.java:196)<br>>>
at<br>>>
org.openstreetmap.josm.io.OsmReader$Parser.intern(OsmReader.java:126)<br>>>
at<br>>>
org.openstreetmap.josm.io.OsmReader$Parser.startElement(OsmReader.java:273)<br>>>
at<br>>><br>>>
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Ab<br>>>
stractSAXParser.java:501)<br>>> .... goes further into
xerces<br>>><br>>> I don't know if the stacktrace helps, or if
anyone else is having problems<br>>> with these files. Other .osm files
open up fine on my system. I could<br>>> submit<br>>> this as a
bug report to Josm with the sample file, but wanted to check if<br>>>
anyone else is having problems as well.<br>>><br>>>
Adam<br>>><br>>><br>>> On Thu, Apr 1, 2010 at 11:05 PM, Sam
Vekemans <<br>>> <a href="mailto:acrosscanadatrails@gmail.com" target="_blank">acrosscanadatrails@gmail.com</a>><br>>>
wrote:<br>>><br>>><br>>>
Thanks,<br>>> But its oodles of people
who help with the process.<br>>><br>>>
Speaking of which, i'll have the complete Ibycus 3.0 Garmin<br>>>
MapSource<br>>> IMG files available for
download as single (grouped) .zip files<br>>>
available soon.<br>>> It will still be
at least a year before we get our map to that<br>>>
level.<br>>><br>>>
Sam<br>>><br>>><br>>>
<snip><br>>> For those who are
interesting to have a look at sample datasets,<br>>> you<br>>> can
download them from<br>>><br>>> OSM wiki
<a href="http://wiki.openstreetmap.org/wiki/CanVec#Sample_Datasets" target="_blank">http://wiki.openstreetmap.org/wiki/CanVec#Sample_Datasets</a><br>>>
<<a href="http://wiki.openstreetmap.org/wiki/CanVec#Sample_Datasets" target="_blank">http://wiki.openstreetmap.org/wiki/CanVec#Sample_Datasets</a>><br>>>
NRCan <a href="ftp://ftp2.cits.rncan.gc.ca/osm/pub" target="_blank">ftp://ftp2.cits.rncan.gc.ca/osm/pub</a><br>>><br>>>
Have fun (I hope!-)<br>>><br>>>
Daniel<br>>><br>>><br>>>
_______________________________________________<br>>>
Talk-ca mailing list<br>>>
<a href="mailto:Talk-ca@openstreetmap.org" target="_blank">Talk-ca@openstreetmap.org</a><br>>>
<a href="http://lists.openstreetmap.org/listinfo/talk-ca" target="_blank">http://lists.openstreetmap.org/listinfo/talk-ca</a><br>>><br>>><br>>><br>>><br>>><br>><br><br><br></div>
</div>
<div>
<div></div>
<div>--<br>Twitter: @Acrosscanada<br>Blogs: <a href="http://acrosscanadatrails.posterous.com/" target="_blank">http://acrosscanadatrails.posterous.com/</a><br><a href="http://Acrosscanadatrails.blogspot.com" target="_blank">http://Acrosscanadatrails.blogspot.com</a><br>
Facebook: <a href="http://www.facebook.com/sam.vekemans" target="_blank">http://www.facebook.com/sam.vekemans</a><br>Skype:
samvekemans<br>OpenStreetMap IRC: <a href="http://irc.openstreetmap.org" target="_blank">http://irc.openstreetmap.org</a><br>@Acrosscanadatrails<br></div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>