Mar 05
I went through and caught a handful of minor bugs. The trail system still is not being drawn. It was recognizing the variables earlier but the last version I uploaded threw that off somehow and I haven't had much of a chance to dig back into it. Mainly the thing I need to work on now is how the data is getting read in/parsed. When it was recognizing the global variables I noticed it broke down when I tried to access "line" from the parsed data.
E.G. the first line should look like:
{"X": -72.234, "Y": 42.89, "id": 982384, "name": "Town Trail", ...}
Jim says
I will before Monday take a closer
look at this javascript code and
debug it, to see if we can get back
to the working state it was.
Here are the working ones that this comes from :
The new version should parse the .csv file and then display all of the trails that have a trailname.
Jim on Sunday night
A working version is attached, with your
two .js files collapsed into one and
somewhat cleaned up and debugged.
See the comments in parse_and_draw.js for the details.
Oh, and the files I put here have unix-ish carriage return and line feeds,
so they're a little different than the DOS convention ones
you've posted before. Shouldn't matter - just letting
you know that the .csv for example isn't exactly
the same as what you uploaded. (See
http://en.wikipedia.org/wiki/Newline for
the details on the difference, if you're interested.)