Archive for September, 2009

Data conversion issues: GPX to shapefiles (episode 5)

Sunday, September 27th, 2009

So, i spent a little time this weekend remembering how to use Illustrator. MacGPS Pro will make a chart of elevations: i want the look and feel to match the other maps and diagrams i imagine (fantasize) making.

In all that exploring, i found:

1) The pdf export’s elevation line is actually many line segments, too small for using the “text on a path” function.

2) The auto trace function, when applied to a graph, traces the cells of the graph and does not make one continuous trace of the plotted elevation line.

3) When one uses the “text on a path” function, the styling previously applied to the path (a stroke, for example) disappears.

This does count as progress!

I then went to MacGPS Pro and cleaned up a track to document Lassen’s Main Park Road in order to get the elevation profile.

The 29 mile Main Park Road was constructed between 1925 and 1931, just 10 years after Lassen Peak erupted. Near Lassen Peak the road reaches 8512 feet, making it the highest road in the Cascade Mountains. It is not unusual for 40 feet of snow to accumulate on the road near Lake Helen. — NPS

That done, i extracted it and a collection of waymarks in kml and gpx format, in order to look at them in uDIG.

No chance. One can convert the KML (used by Google Earth) to GML (Geography Markup Language, presumably easy, albeit i’d prefer to find someone else’s stylesheet. However, kml export does not include the timestamps. That’s fine for this trip, since i lost the timestamps, but i’d prefer to find a conversion for the GPS exchange format, GPX.

It would be lovely if GPSBabel could help, but it handles the same formats i can export from MacGPS Pro and none that uDig can consume.

One possible solution was based on finding a question in a Quantum GIS (QGIS) forum: i have an old version of QGIS (”Io”) still on the laptop. The GPX files did not display in QGIS, but Google Earth loads the files, just fine. Christine and i suspected that some XML element for standard metadata may be missing and Google Earth just forgives and assumes a standard (like WGS84). Skimming the schema it doesn’t seem like that’s the problem: MacGPS Pro’s export seems to meet the spec. I would submit a QGIS bug report, but i’m using an antique version of the software.

Other solutions i’ve found tonight seem to be windows or linux based. If it truly hacked the open stack, i could possibly hack a solution.

A final side note: Google Earth is one of the applications that stores the user name as part of the path to the configuration files.

Dead end explorations after the cut: (more…)

New Mac Troubleshooting

Wednesday, September 23rd, 2009

I’ve a new (refurbished, late 2008) MacBook Pro and have a number of issues with it. This post is to track my troubleshooting on a few issues.

Both Macs were running 10.5.8.

One of the many suspicions of hardware instability that led me to the new MBP, was a series of Grey Screens of Death. I also suspected 10.5.8 :

Since upgrading, it’s happened once as i tried pairing a bluetooth headset. The suspicion the grey screen of death is associated with the 10.5.8 upgrade returned.

History of the GSOD events and other notes, after the cut. (more…)

Santa Clara County Releases Its Geodata

Friday, September 18th, 2009

I’ve written about this case before, where Santa Clara County was charging far more than the cost of reproduction for the parcel geodata and was being sued for violating California’s Public Record Act (PRA).

The data has been finally provided to the California First Amendment Coalition (CFAC) at $3.10 per disk.

There’s a press release/article after the cut.

HOORAH!!! (more…)

Playing with the GPS: Exploring Mt Lassen (episode 4)

Friday, September 18th, 2009

We’re back from Mt Lassen. Photos will come when i can face the fact that i’ve lost pretrip photos. The hard drive i moved them to failed *during* the scheduled back up, which rubs salt in the wound. I also have some data-loss pain (more photos) due to the oh-so-rugged, so new i hadn’t backed it up, Hitachi simpleTOUGH drive failure last month. I am trying to practice detachment, but it’s coming off a bit more like sour grapes. “I never would have had time to really go through those photos anyhow.”

Data loss continues to haunt me (so it’s a good thing i’m not bringing this mojo to work). I knew there was a reason i rarely save off trip logs on the device interface of my Garmin GPSmap 60. I rediscovered the reason as i started looking at the GPS data from the trip: the timestamps all go away. I’ve found notes about this behavior here. I’m very disappointed because i was planning on using HoudahGeo to correlate my photos with our track log.

I’ve done a number of things since being back,and thought i’d checkpoint, since i’ve a new laptop to play with now:

  • i had to strip the values from the GPS data so that i could use the more precise MacElevation California DEMs for altitude values, but now i can do an elevation profile of the trip
  • I scanned in the USGS map of Bumpass Hell and made a first pass at georectifying it: it needs more work.
  • I’ve picked out fonts and created a color palette to use on the map.
  • I’ve been using the trial version of Ortelius from Map Diva. So far it looks very useful, and there is a special offer of $79 through the end of Sept 2009.

    Import .jpg, .bmp, .gif, .png, .pdf, and .tif image graphics, and ESRI map shapefile (limited in Standard edition); export .tif, .jpg, .png, and layered .pdf

    Loaded with a broad selection of royalty-free world, continent, and country map templates to customize and make your own…. Choose from templates, use your own existing (GIS) map data, or make custom-scaled map graphics – you have the flexibility to decide.

(more…)

Mt Lassen Hot Rock mystery (episode 3)

Thursday, September 17th, 2009

While waiting for back-ups to complete then Illustrator to install, i researched the “hot rock” mystery and uploaded a scanned in section of the USGS document: “Maps showing thermal features and topography of Devils Kitchen and Bumpass Hell, Lassen Volcanic National Park, California” to Map Warper.

What exactly do i mean by the “hot rock” mystery?

Lassen Volcanic National Park has two locations that explicitly focus on the effects of the eruption in the 1915. One spot is the Devastated Area interpretive trail, another is the “Hot Rock” pull off. In both places, visitors may read about the photographs BF Loomis took which documented the effects of the eruption. References are made to the black dacite rocks in contrast to the pink and grey dacite: the black dacite is the recent rock formed by the lava that was cooling in 1915. The pink and grey dacite make much of the peak of Lassen and were washed down in the mudflow along with the new black dacite.

Loomis photographed and noted the “hot rock” and there is the “hot rock” at the pull over and the “hot rock” at the interpretive trail. Christine and i became a little confused as we tried to figure out how the “hot rock” could be in two places at once. In fact, and with no shock, there are two different boulders in the “hot rock” photographs.

The smaller hot rock is documented multiple times by Loomis, as in the pair of images reproduced by the USGS: one from May 22, 1915 and the same scene taken by Loomis later that summer. Another USGS page offers the single “hot rock” photo with an 1984 comparison image. (I found a note here which asserts the hot rock “later disintegrated.”)

This “hot rock” is in the Devastated Area.

Hot Rock pull-over in Lassen Volcanic National ParkBoth the pull-over and the Devastated Area have a Loomis image of a group standing before a stone with the annotation of “hot rock” of the dimensions of the stone This postcard is a reproduction of the group portrait, too small to see the expressions on the faces which Christine studied in the large reproduction in the park. Note that Lassen has no steam from the top.

References after the cut. (more…)

IOGear Scribe and a new vendor as IRISnotes

Wednesday, September 16th, 2009

A few moths ago i won a IOGear pen on eBay and wrote about my hope to get it working with my Mac. I never did succeed: it seemed likely to be a failure with the recording device or my MacBoo Pro’s USB port (sadly, other things seem to point to failures there). The receiver device never transferred files to my laptop.

A new company is selling the hardware in the US and they offer support for the Mac: it’s being sold as IRISnotes. The Mac features are still minimal: the images of what has been written transfer to the computer as a TIFF, and inkwell is “supported.”

Back to GIS: Exploring Mt Lassen via UDIG, episode 2

Friday, September 4th, 2009

I had a nice interlude changing styles on a bunch of data layers and updating a JIRA bug. The data layers were from the National Park Service’s data store: http://science.nature.nps.gov/nrdata/datastore.cfm?ID=35620. Then i went to add some other layers.

Argh, projection woe: “Generic Cartesian 2D.” Indeed, this lovely data set has a warning in the metadata:

These data are small-scale (generally 1:100,000 or smaller). They are intended to be used as a set. The data are not intended to be used with other data sets, particularly larger-scale data, as they may not align spatially.

Christine notes she could georeference some of the layers but, no.

I can use this for identifying quad names and getting a general sense of place, but i’m doing this project for fun. I can refrain from a mashup with other data.

Unfortunately, in a moment when i thought i was going to reproject the layers, i deleted my map with all my styles.

Updating with layer information after the cut. (more…)

Stevens Creek Trail in the News & SPCWC now “Social”

Thursday, September 3rd, 2009

JackrabbitThe Mercury News ran an article discussing the development of the Stevens Creek trail, beginning with a description of a 1961 brochure touting the idea. The article describes how the city recently accepted new grant funds to complete the new section that “crosses Highway 85 from Sleeper Avenue to Dale Avenue and Heatherstone Way.”


Now, the other cities along the creek — Los Altos, Sunnyvale and Cupertino — are starting to develop their own plans. Cupertino opened a three-quarter-mile stretch of trail in July. Los Altos conducted a feasibility study last year, where consultants analyzed potential routes through the city.

A recent decision in Sunnyvale, though, is a “major breakthrough,” Los Altos Council Member Val Carpenter said. In April, the Sunnyvale City Council voted to rescind a policy that had been in the city’s general plan since 1994 prohibiting the trail from coming through the city.


DragonflyMeanwhile, Stevens & Permanente Creek Watershed Council are now on Facebook and Twitter. If you’re in the are, give them a follow!