<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010>Bonjour Adam,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010>All Canvec.osm samples have been replaced - there is no
more empty tags (<tag/>). For those who wishes to have a look,
you will find links to samples in <A
href="http://wiki.openstreetmap.org/wiki/CanVec">http://wiki.openstreetmap.org/wiki/CanVec</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010>I don't know how I did manage to open the
previous version in JOSM but this version should open
properly!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010>Cheers,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=131435216-06052010>Daniel</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Adam Dunn [mailto:dunnadam@gmail.com]
<BR><B>Sent:</B> 5 mai 2010 17:03<BR><B>To:</B> Bégin, Daniel<BR><B>Cc:</B>
Talk-CA OpenStreetMap<BR><B>Subject:</B> Re: [Talk-ca] Canvec.osm
samples<BR></FONT><BR></DIV>
<DIV></DIV>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
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN>Thanks
Adam,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><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 color=#0000ff size=2
face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><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 color=#0000ff size=2 face=Arial><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 color=#0000ff size=2
face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN>Daniel</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><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: rgb(204,204,204) 1px solid; 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></BODY></HTML>