GPX – the G isn’t for Garmin- link references

March 7th, 2010

Topographic seems to be source for this common file format used by many geographic information system devices and applications. The current version has been around since 9 August 2004.

The GPX file format is a lightweight XML data format. This means it is a text file with special tags to identify a known set of fields common to GIS systems like latitude, longitude, elevation, description, and name. An example can be seen at Garmin Mass Storage Mode Devices which describes how Garmin uses the format for its GPS devices. GPSBabel describes some of the other extensions for the format.

This is the most capable and expressive of all the file formats supplied. It is described at topografix.com and is supported by EasyGPS, ExpertGPS, and many other programs described at topografix.com

GPSBabel’s reader of this module attempts to preserve tags it doesn’t really understand.

Garmin has a page that describes several of the GIS oriented file formats they support at Garmin Formats. These include AXM, Device XML, GPX, GPXX, KML, and TCX with links to the various schema definitions.

A nice history of the file format is at Travel By GPS The History of eXchanging GPs Data.

The backup is to use CSV files. These are also text but do not have explicit fields and are flat files whose data needs some interpretation. Each line is an individual record. A GPX file has defined fields made explicit and each field is of a know type. A GPX data record may be more complex than CSV formats would support.

The key issues at present is how to fill a GPX record from CSV sources and then see how the fields in the source data end up on the target device. Once that is figured out, it would be possible to figure out how to parse and clean the data source for desired results in the GPS device.

Cockpit at the front?

March 4th, 2010

The picture Reynolds provided of the new Honda jet got me thinking. Have you noticed how sci-fi continues the trend of having the control center for a vehicle up front and exposed? Naval ships started with the control station exposed on the quarterdeck. In Hornblower’s time, the captain was expendable and expected to be right out there in the midst of the battle. Things have changed. Modern navies have control rooms in protected spaces below decks. Even cargo ships are creating secured spaces in engine control rooms as a means to deal with the pirates off Somalia.

But cars and planes still place the cockpit or control center up front so the pilot or driver can actively steer the vehicle along a safe route. The need for that is changing. Experiments have shown that an airplane can be safely flown when the pilots have no access to exterior windows. Automatic parking has started to show up in automobiles to facilitate hands-off parallel parking.

That view up front is prime real estate. Even in airplanes such as the 747 that have multiple decks, the passenger deck stops short of the nose to give way to radar and other instrumentation. This paradigm follows to sci-fi where rocket ships have the control cabin in the nose. It seems that the control center needs to move to a more protected area, especially in space ships. That can increase security as well as leaving prime real estate for passengers.

It is the passengers who want to see with their eyes. The pilot, navigator, captain, helmsman and other control officers can see better with other means. If fact, if they turn into robots, they may not even have their eyesight close to their brain. Then only thing you’ll need a human for is to hit the off switch if something goes awry.

Garmin and TomTom facing competition?

February 25th, 2010

Engadget things the PND manufacturers has some competition in the new generation of cell phone devices.

As everyone knows, Garmin and TomTom have their backs against the ropes in a fight to remain relevant in an age of free GPS turn-by-turn navigation on smartphones

I don’t think it is the devices nor even the software that is providing the competition, it is the maps.

If you have a dedicated PND (personal navigation device) and want to keep its maps up to date, you are talking about spending more than $50. You can buy a current atlas at WalMart for under $10. You can use one of the many I’net mapping services for free.

Maps for the PND are like Gillette’s razor blade idea. Give away the razor and make your money on blades. The printer folks have got this idea, too, as they’ll sell printers sometimes for less than the cost of replacement toner or ink cartridges. The problem is that the cost of maps (and printer supplies) is pushing people’s idea of what is reasonable. Competition is coming from novel directions to meet the demand.

That is one area where Garmin seems to have an edge on its competition as it appears to have a more mature developer community. Worldwide routable Garmin maps from OpenStreetMap  provides a method that has the potential for providing what TomTom is doing with its user map sharing idea. Creating Custom Topo Maps for a Garmin GPS provides a means to enhance your PND maps based on government data. Then there’s  GMapToGPX which helps integrate Google Maps to Garmin PND routes.

Another consider is that this field of GPS devices and geographic information systems has a long ways to go. GPSBabel: convert, upload, download data from GPS and Map programs  has a very long list of file types used in the field that it will translate. A promising sign is that there is a trend towards XML structures with a fairly well defined set of fields.

The competition isn’t the cramming of PND capabilities into a cell phone on top of general I’net utility, it is in the maps.

Reverse Beacon Network

February 23rd, 2010

It calls itself a “revolutionary new idea” and that may be the case. Amateur radio beacons of the old school are automated radio transmitters at various frequencies that an amateur could listen for to determine band conditions. Reversing this situation is creating a real time listening network that reports, via the I’net, who hears what. See Reverse Beacon Network ht Southgate ARC.

From a cursory inspection of the web site, it appears that the effort has a long ways to go. It depends upon proprietary software to seek out and parse CW signals to determine who can be heard.

Where could it go?

  • Towards an integrated FOSS project would be a start. It also needs RSS support.
  • It should incorporate all digital modes as well as CW with some effort towards voice recognition to include those modes as well.
  • Coordination with a call sign database would allow geographic analysis
  • Short term propagation analysis linked with longer term logbook results could aid planning

There is a lot of opportunity for innovation like this that is within reach of the AR community. Pete Smith, N4ZR
and Felipe Ceglia, PY1NB have got it off the ground. What can we do to help make it fly?

The UPS is beeping, the UPS is beeping!

January 26th, 2010

When the grid power does strange things around here, the UPS systems let you know. The NAS is connected to the Triplite via USB so it will know when it needs to shut down. The NAS will send an e-mail when it gets word from the UPS about going to battery power and whatnot.

The client computer on an APC UPS just beeps. It also beeps when grid voltage gets above 124v. Since the grid voltage goes over that threshold in afternoons this winter, the beeping can be annoying. The short term fix is to turn on a space heater. Even at the low, 800 watt, setting, the space heater will reduce the voltage to the UPS by 3 volts or so and stop the blasted beeping. The additional heat is, this winter, a nice side effect, too.

Then there’s the oven in the Kitchen. The gas valves don’t work if the grid voltage goes below about 108v. Since voltage drops like that were common this past summer, I had to put a Variac and meter on the line so the voltage could be adjusted to be closer to nominal to bake supper.

Low voltage was also a problem for the RV air conditioner parked in the driveway. For that, I used an autoformer manufactured for such problems. It provides a voltage sensing 8% or 16% voltage boost to prevent brownouts.

The source of these problems is probably a forty year old grid supply network. There are too many drops on the transformer and the drops are too long and their age may be taking a toll. The power company can only compensate so much so my UPS beeper gets exercise.

Dictionary of Algorithms and Data Structures

January 21st, 2010

If you want to look up the definition of a software development term that you won’t be able to understand unless you already know the meaning, the NIST Dictionary of Algorithms and Data Structures might be a resource. Each definition seems to depend upon many other words in the dictionary and the links to those words can make for an interesting journey. I wonder if they get circular.

This is a dictionary of algorithms, algorithmic techniques, data structures, archetypal problems, and related definitions. Algorithms include common functions, such as Ackermann’s function. Problems include traveling salesman and Byzantine generals. Some entries have links to implementations and more information. Index pages list entries by area and by type. The two-level index has a total download 1/20 as big as this page.

If you don’t have a clue, the dictionary can be an interesting look at the terms and names and ideas that define software development and how they fit together. There are also links you can use to escape the dictionary into more complete treatments of the concepts, some with code.

My, how things change in communications

January 15th, 2010

K9EV talks about how communications infrastructure has been enhanced and hardened over the years in When Failure is Not an Option. Amateur Radio is no longer the option when failures in communications are remote.

There are stories about how Amateur Radio operators were first to hear the news of the Haiti earthquake but there is also the reality that one of the biggest disasters there is the failure of communications that even Amateur Radio could not fill. When all else failed, Amateur Radio wasn’t there, either. In the US, many cities or counties have extensive emergency preparedness plans that include communications capabilities. Amateur Radio no longer needs provide equipment or operating facilities as these local governments have specially prepared vans or trailers with equipment and supplies ready to go for emergency communications.

Then there’s the commercial communication infrastructure K9EV describes. Not only are cell phone towers being hardened for better security and capabilities to operate for up to a week in disaster scenarios plus redundancies to survive contingencies. That is supported by back-haul links to central exchanges and network redundancy that is also hardened. And the cell network is not the only ‘last mile’ link between consumers and the network as cable and other alternatives to the traditional battery operated hard wired telephone have become more reliable as well.

One big deal was in 1982 or thereabouts when the telephone company was required to allow connections of alien equipment to their POTS network. That had been a big problem for the autopatches hams used to facilitate connection between their radios and the commercial network. It was also an issue in the modem equipment used to connect computers for remote data access.

Behind the scenes was the telcos moving from traditional hard linked connections with embedded control signaling towards digital circuit systems with segregated controls systems. The old system was why ‘phreakers’ with ‘blue boxes’ could use tones to hack the system and get free long distance. The new system, the SS7 system, helped block this misuse and provided the opportunity for the telco to provide many new features.

Then there was the telecommunications act of 1996 that allowed ‘competitive’ local exchange carriers (CLEC) to access the switching facilities of the incumbent carriers (ILEC) that provided the wire link to the consumers. That paved the way to alternatives to the traditional telephone system and the integration of the SS7 backbone to the IP based I’net. That, in turn, made VOIP feasible.

The problem of cell phones in schools also demonstrates a part of this. School children are no longer amazed by simple crystal set radios and can-on-a-string intercoms. They have cell phones with cameras and music players and I’net access that their parents can used to keep track of them and that they can use to constantly communicate with their circle of friends using voice, text, or even video.

Obviously amateur radio will continue to stand in the gap providing emergency communication services wherever and whenever it is requested, … But we seem to have entered a phase where … our radio gear and communication know-how doesn’t add as much value as it did when our kind of wireless was the only wireless available.

I think we’re in need of some re-branding if we want to remain relevant.

The first commonly available public and popular wireless facility was citizens band radio (CB) that took off in the seventies. Since then, the Heathkit era faded as fabrication of electronic and electrical appliances became modular, integrated, and inexpensive and software took over many hardware functions. Many communications methods have become popular, useful, and reliable. Even the picture phone hypothesized as future tech in the 60’s has become reality with a miniature camera mounted at the top of a flat screen computer monitor that has enough picture quality to be embarrassing.

Since the rise of the CB era, the ‘Amateur Radio’ brand has needed a focus and direction that has not occurred. A unique and inexpensive way to chat over distance? gone. A resource for ‘when all else fails?’ handled. A build-it-yourself for cheap high grade equipment? can’t compete with COTS (commercial off the shelf). Leading edge communications technology development? you just try to build a GHz capable microchip that is software driven in your garage.

There is something left for a focus. That is people: operator training and public educations. Unfortunately, that aspect has also been diluted by government policy and tactical thinking.

The questions “who am I?” and “where, now?” are well overdue for the amateur radio community and the societies that allow them use of radio spectrum and other considerations.

Femtocells, VOIP, and cordless phones synthesis?

January 7th, 2010

It has been a big change taking a lot of time. The landline telephone network started development just a bit over 100 years ago. Cable TV is less than half that and its expansion into networking is less than half of that. Cell phones have an age similar to cable networking of only a couple of decades.

It was a big deal when cordless phones could replace the old telephone sets in homes. Now that technology is up to DECT 6.0 standards with many features and, just as that standard is taking hold, another technology is encroaching on its territory.

Cordless household phones were only a small step towards wireless freedom. Those phones have only limited range and are still rather bulky. Cell phones, on the other hand, can be used nearly anywhere and are small, convenient, and packed with many features that make them much more than just a telephone. That is why the wired connections to houses business is shrinking.

Back towards the 1970’s you had to have specially certified equipment to connect to the telephone network and that network was the only readily available public method for communications. That gave Amateur Radio operators headaches as they built the interface between their hobby equipment and the telephone networks to extent the utility of their services in emergencies. It also raised costs on early data modems and other equipment that connected computing devices.

That monopoly was broken and now the back end networks are separated from front end consumer access points. Ironing out the standards to keep all of these parts functionally integrated has been a difficult process and is still suffering rough spots. What has happened is that there are now many ways to get into and out of the back end network and cost and pricing pressures are stimulating innovation.

VOIP is old hat now. The next step may be that of circumventing the front end cell network to be able to use common cell phones to connect more directly to less expensive I’net service points while still retaining the cell network access. This is where the femtocell idea comes in. (see Airvana Femtocell Technology)

Femtocells have the potential to transform communications by making the mobile device the tool of choice even in home settings.  However, vendors and operators face substantial technical challenges to realize the potential of femtocells.  For example, femtocells will increase the number of base stations by several orders of magnitude over the existing “macro” base station infrastructures.  This increase will demand new approaches to areas such as mobility and interference mitigation.  At such volumes, femtocell vendors will also need to follow an aggressive cost curve.  Femtocells will require new approaches to installation and configuration, because they will be installed by non-technical users.

Where the shift occurs is in the purchase of I’net services via an ISP and then using various service providers for such things as addressing such as telephone numbers and access methods. The interface out the the PSTN (public service telephone network) is the province of VOIP providers and they use either computer audio (e.g. Skype) or dedicated phone set to I’net devices (e.g. Vonage, Teleblend) or phone set to computer interfaces (typically USB) like Magicjack. These devices make it possible to use an existing I’net backbone like a regular telephone and that means that the costs for long distance and other such features are paid for in a customized way between your ISP and your VOIP provider.

Now it looks like Magicjack is going to provide a femtocell option (CES PSA) to build on their POTS to USB service interface. This means that you can ‘introduce’ your cell phone to the femtocell and then your cell phone calls will use that access point rather than a cell phone tower when you are in range of the femtocell. Since you don’t access the cell network, your cell phone provider should not charge you for the use of the phone when using the femtocell. What that means is that your cell phone acts like an old cordless phone around home except that is will still work when you are away from home, will be more compact, and may still have many features the cordless doesn’t have.

The portability aspects for travelers also have interesting implications. The Magicjack is intended to be portable so it can be used wherever there is a decent high speed I’net connection. If their femtocell works the same way, it means that you can reduce cell phone costs when traveling if you have access to a motel or RV park or other public access broadband service with your laptop.

Exactly when this will happen is a question. Magicjack has promised number porting and Linux capable software as being available ‘Real Soon Now’ and the wait has been extended. Someday. And someday, the femtocell, too. It is coming together and the pace, if looking back, is breathtaking. But seeing what is in the pipe can still be a frustration of anticipation.

pi calculator and FOSS hero

January 7th, 2010

You may have heard (PhysOrg

A computer scientist in France has broken all previous records for calculating Pi, using only a personal computer. The previous record was approximately 2.6 trillion digits, but the new record, set by Fabrice Bellard, now stands at almost 2.7 trillion decimal places.

Which is impressive but there is more in the story. For one, “Bellard has been following the records for calculating Pi to the maximum number of decimal places since he received his first book about Pi at the age of 14.” Then there are other projects Bellard has done.

M Bellard is perhaps best known as the writer of the open source project FFmpeg and processor emulator QEMU. He said he has no immediate plans to calculate Pi to further digits in the future, but may do, depending on his motivation and the availability of larger and faster storage. He intends to release open-source versions of his software for Linux and Windows to enable anyone who is interested in furthering the calculation to beat him to it.

If you’ve been doing video transcoding, then you’ve appreciated Bellard’s work. QEMU is a system emulator that creates an artificial hardware environment to allow running systems within systems.

The mathematical ideas behind pi are fascinating in themselves but then there is the math behind arbitrary precision numbers and the infinite series calculations and algorithms used to calculate values such as pi out to a precision that would take an entire bleeding edge hard drive to store in decimal notation.

And then to think that the computers that can do this sort of calculation in weeks are readily available to anyone.

Modem history

December 27th, 2009

SSB and echo cancellation were two technologies that allowed modems to up the speed on POTS landlines. TechRadar has the story in Getting connected: a history of modems

It took 14 years, from 1980 until 1994, for the speed of the modem to develop from 14.4Kpbs to 28.9Kbps but it was only two years later, in 1996, that Brent Townshend came up with the technology for the 56k modem.

A lot of things happened in the 90’s. The I’net move from nonprofit only to commerce capable provided a social impetus to go along with data transfer rate improvements at the same time as operating systems could take advantage of new computer architectures and video systems to provide WIMP (windows, icons, mouse, pointer) interfaces. Two years to double modem speeds and then another two years before cable and DSL wideband started to up that by an order of magnitude.

An article like this is a good way to sit down and marvel at just how much things have changed in such a little time.