Archive for the 'Development' Category

Wednesday, February 4th, 2009

I’ve written a geo-time coding script, which can add your Flickr photos a location by coding time stamps in photos and gpx. It outputs a GeoRSS feed. Check it out http://wms.mapuse.net/demo/playground/phpgpx/

The Flickr service will be a part of the toposhare.org site. Try out test.toposhare.org.

Tuesday, September 30th, 2008

Toposhare.org is about openness and sharing. Its about sharing adventure trips with others, but also about sharing knowledge of how to use the web technology for mapping and sharing GPS tracks. The code behind the web site is open source, but it has been differcult for others to reuse the code. Actual it has been impossible because the code has not been distributed. I’ve been thinking of how to make the code easy for others to use and have decided to fork out the core libraries to make them more general-purpose. The code can be reused in similar sites or in any site that deals with GPS tracks. If you use the code please drop a comment and tells us about your project. You can also join the toposhare.org team at sourceforge.net and help us develop the code base.

Check out the example site where the code is available. Enjoy!

Wednesday, March 26th, 2008

A interesting discussion took place the other day at the “GPX discussion group”:http://tech.groups.yahoo.com/group/gpsxml/message/1804

It was about the trkseg tag in a GPX feed, which is used to split a track up in segments. The problem is that track segments are not supported by all GPX exporters, including the popular open source project “GPSbabel”:http://www.gpsbabel.org/. GPSbabel and some other exporters parse every track segment into a new track, which can result in literally hundreds of new disjoint tracks! This is intensional by GPSbabel. I’m happy to read that many posters in the group agree with me on that track segments are a reasonable construct in the GPS schema and they should be supported by GPX exporters.

The GPX parser and exporter behind TopoShare.org supports track segments.

Monday, January 7th, 2008

We have just launched the a new version of TopoShare.org This release is a major one introducing TopoShare.org as a service. This means that the web site www.toposhare.org is just one of the clients that can be used for accessing routes. For now the services are limited to getting routes, which of course also is the most important thing. Later we will add services for posting routes and getting other information from TopoShare.org. Over the next weeks I’ll write posts about how to use the services, but here follows a short introduction.

Feeds of routes can be access in different xml format:
*RSS* is well know and has always included coordinates for the trail head in lat/lon following the W3C standard.
*GeoRSS* is RSS including coordinates following the OGC standard for describing geographical data know as GML (Geographical Markup Language). GeoRSS comes in two versions: Simple and GML. Simple is just like ordinary RSS with coordinates for the trail head in lat/lon but here following the GML standard for point data. GeoRSS in the GML version contains the whole route as line data following the GML standard. This actual means that geographical data describing the whole route is included in the RSS item!
*KML* is Googles Keyhole Markup Language and is another way of describing geo data. KML has become de facto standard.
*GPX* is the GPS Exchange Format and de facto standard for exchanging route data between GPS applications. Read more “here”:http://www.topografix.com/gpx.asp
*TopoShare XML* is our own format and is the most rich of the feeds. This feed contains most of the information we have about the routes.

So how can you use the services? The services works as simple http gets. Here follows some examples:

This give you a GeoRSS Simple feed (GeoRSS simple is default for RSS) for hiking routes in Benton county, Oregon:

http://www.toposhare.org/services/routes/rss?statefilter[]=41&provfilter[]=003&typefilter[]=1

What can you use this for? Here comes the great part. GeoRSS feeds can be read by e.g. Google Maps. Just paste the URL string into the search field on maps.google.com and hit search or click “here”:http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=http://www.toposhare.org/services/routes/rss?statefilter[]=41&provfilter[]=003&typefilter[]=1&ie=UTF8&z=10&om=1

http://www.toposhare.org/services/routes/rss?statefilter[]=41&provfilter[]=003&typefilter[]=1

Google Maps can also read GeoRSS GML. This way you can actual see the route. Add ‘format=gml’ to the URL

http://www.toposhare.org/services/routes/rss?statefilter[]=41&provfilter[]=003&typefilter[]=1&format=gml

or click “here”:http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=http://www.toposhare.org/services/routes/rss?statefilter[]=41&provfilter[]=003&typefilter[]=1&format=gml&ie=UTF8&z=10&om=1

Also KML can be loaded into Google Maps. KML contains only the geometric - no information about the route. KML can of course also be loaded in Google Earth.

http://www.toposhare.org/services/routes/kml?statefilter[]=41&provfilter[]=003&typefilter[]=1

or click “here”:http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=http://www.toposhare.org/services/routes/kml?statefilter[]=41&provfilter[]=003&typefilter[]=1&ie=UTF8&z=10&om=1

!http://blog.toposhare.org/wp-content/uploads/2008/01/snapshot-2008-01-07-21-51-07.jpg!

After you’ve loaded a feed it can be added to “My maps” by hitting “Save to my maps”. You will need a Google account for this. This way you can keep track of new hiking routes in Benton county, Oregon and take a look at them without visiting the TopoShare.org web site.

The smart thing about the search string is that its identical to the search string for the HTML pages. This means that you can make a search on TopoShare.org and copy the part of the url after the “?” and put it behind one of the service addresses.

I’ll soon follow up on this post with some documentation about the services and tips on how to use them. If you try them out please add a comment about what you think.

advance loan cost cashland 100 loanfree payday 1st loanpayday loan acredit bad loan $2000fast cash 500 loanloans 120 homenew alabama loans car Map

movies lesbian latinamovies clips free porn andmovie masturbationreviews movie xxxmassive movies cockfull free adult moviesmovies adult flash2004 movies Map