Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#140058 - 04/02/2003 14:01 GPSApp and maps
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
Greetings,

So after I told myself that I would never hack my RIO again since my last crash, I can no longer resist the urge to get the GPSApp installed.. it's just too cool.

Just wondering though: what does the "maps" feature do (from the README file). Also, is there a way to download general road information for a city, and just display that (even if no route is selected).

Thanks
-Ted

Top
#140059 - 05/02/2003 11:49 Re: GPSApp and maps [Re: TedP]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
GPSApp will show you a "map" of a route you load from the maps on us website and it will show a track of where you've been. So you really aren't downloading a map persay, but a track of where you are supposed to go to get from one place to another. There is no way to download general road information, unless you fiqure out a way to make Maps on Us generate a route that hits every road in your city (impossible unless you live in a very small town).

Top
#140060 - 05/02/2003 11:58 Re: GPSApp and maps [Re: siberia37]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
It would be fun if GPSApp could be extended to display some additional vector lines surrounding the programmed route. Not an entire map of the region, just the lines representing the streets within a mile or so of the preprogrammed route. So that way, if you get off-course, you can see what streets to take to get you back on course.

I know MapsOnUs doesn't supply that information. But wouldn't it be cool if we could get like a Tiger dataset (or something similar), and have either the Python script on the PC or GPSapp itself on the player match up the Tiger data and the MapsOnUs route, and overlay them atop each other.
_________________________
Tony Fabris

Top
#140061 - 05/02/2003 12:36 Re: GPSApp and maps [Re: tfabris]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
Agreed.. I would use routes, as much as I would like to know what streets are coming up.

What we'd need is a way to map long/lat into streets for a city. Has anyone taken a look at microsoft's terraserver? I think they leave it open to queries, so maybe something can be written to retreive the data?

http://terraserver.homeadvisor.msn.com/about.aspx?n=AboutTerraServiceAPI

-ted

Top
#140062 - 05/02/2003 19:22 Re: GPSApp and maps [Re: TedP]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
geocoder from
server:[email protected]:/ofb/cvs
will do what you want with data you can already download in bulk.

Top
#140063 - 05/02/2003 19:26 Re: GPSApp and maps [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
But wouldn't it be cool if we could get like a Tiger dataset (or something similar), and have either the Python script on the PC or GPSapp itself on the player match up the Tiger data and the MapsOnUs route, and overlay them atop each other.

So cool that we already talked about it.

Top
#140064 - 05/02/2003 23:01 Re: GPSApp and maps [Re: Daria]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Ok, I'm kinda new to the area of mapping and there's a few things I don't really understand.

1) What's Tiger data? (I've heard talk of it before but don't know what it is)
2) Geocoder? I googled and it looks like it gets lat & long for an addr (or did I find the wrong thing?)

As far as providing GPSapp with the data it needs to display vector-based maps, can't we already do that with USGS data?
_________________________
--The Amigo

Top
#140065 - 05/02/2003 23:06 Re: GPSApp and maps [Re: TheAmigo]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Tiger data is the Census data. USGS DLGs and Tiger vector data are equivalent for the ppurpose of providing base data for vector maps. However the point of geocoder is to be able to search out a place instead of using e.g. terraserver to do it.

The most recent Tiger data is at:
http://www2.census.gov/geo/tiger/tiger2002/

Top
#140066 - 05/02/2003 23:10 Re: GPSApp and maps [Re: TheAmigo]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Tiger data is US taxpayer-funded data, containing information such as land-use, census figures, school districts, etc., that is useful to Goverment entities. Take a look at http://tiger.census.gov/
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#140067 - 05/02/2003 23:18 Re: GPSApp and maps [Re: Daria]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Ok, so at a quick glance, it looks like Tiger data isn't available for download. But DLGs are so why can't we use those?

I realize we couldn't locate an address, but we could at least show the driver how to get to a highway or that they're on a dead-end street.
_________________________
--The Amigo

Top
#140068 - 05/02/2003 23:24 Re: GPSApp and maps [Re: TheAmigo]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Err.... it is. The most effective way to try and get it is probably wget (assuming you have something that'll run wget) to try and mirror the directory. I found that connection issues meant that I had to rerun the wget a couple of times to get everything. Be warned that you don't want to do this with a 56k modem, only with broadband access. It's 3.6GB
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#140069 - 05/02/2003 23:27 Re: GPSApp and maps [Re: TheAmigo]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
it looks like Tiger data isn't available for download.

Even if it went away from the Census site tonight I know of at least 3 other archives of it, besides mine.

Top
#140070 - 06/02/2003 00:27 Re: GPSApp and maps [Re: Daria]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
The most recent Tiger data is at

Hey, the 02 data is out! Have you had a chance to do anything with it? I am curious if it fixes any of the problems from the 2000 data set that was the most recent available when we talked about this previously (and which Kim Salo's software was using) such as lack of one-way info, etc.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#140071 - 06/02/2003 00:32 Re: GPSApp and maps [Re: mcomb]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Nothing particularly indicated they went back and took care of the one way problem. I have a list of format changes somewhere (it's on the site).

And you should really stop rubbing the salt in the wounds about having Kim's software.

Top
#140072 - 06/02/2003 08:15 Re: GPSApp and maps [Re: Daria]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
Has anyone looked at
http://www.gnu.org/directory/gpsdrive.html

and the possibilty of porting?

it's certainly beyond me...
-t

Top
#140073 - 06/02/2003 09:58 Re: GPSApp and maps [Re: TedP]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
I found an interesting website:
http://www.ertico.com/links/gdf/gdf.htm

Here you find the specifications on the GDF map data format which is used by Teleatlas together with some sample files and explanations.

Additionally I found a Linux project on car navigation and some interesting links on this site:
http://www.geocities.com/linuxcar/GPS_car_Nav_EN.html

Probably some code of this project can be reused for the gpsapp.

Juergen

Top
#140074 - 06/02/2003 10:10 Re: GPSApp and maps [Re: TedP]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
GPSdrive certainly looks polished for desktop use. But it still relies on internet-based mapping.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#140075 - 06/02/2003 10:23 Re: GPSApp and maps [Re: genixia]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
For desktop use, I use xastir. Looks good, works well, I can use aerial photos, topos, shapefiles, whatever, and it's all good.

Top
#140076 - 06/02/2003 12:02 Re: GPSApp and maps [Re: Daria]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
And you should really stop rubbing the salt in the wounds about having Kim's software.

Sorry. If it makes you feel better I no longer have his software on my empeg, but I do use GPSApp. There is something to be said for using software that is actively being developed. Not that GPSApp has seen many improvements in the last month or so, hint, hint, hint.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#140077 - 06/02/2003 14:35 Re: GPSApp and maps [Re: mcomb]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I did a little, but the time I had yesterday (well, not really) went into the EQ setting stuff. Hopefully tonight I'll figure out the tuner stuff.

Top
#140078 - 06/02/2003 14:58 Re: GPSApp and maps [Re: fossi]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
It would really be great if gpsapp could use the gdf format, because you can buy a CD of your region. The tiger maps are US only, and Teleatlas is also available for europe.
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140079 - 06/02/2003 15:08 Re: GPSApp and maps [Re: Warp10]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
It would really be great if gpsapp could use the gdf format, because you can buy a CD of your region.

Yeah. Someone please remind me...

What's stopping us from taking an existing map CD in a proprietary format (something you'd pay money for and purchase) and then reverse-engineering its format for use with the car player? Why does the data have to be in a "free" format? I know I'd pay good money to get better maps than MapsOnUs can provide.

Surely others have already reverse-engineered these map discs?
_________________________
Tony Fabris

Top
#140080 - 06/02/2003 15:09 Re: GPSApp and maps [Re: Warp10]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
The right answer is an interchange format like shapefile, but I can't comment on how far Jan has gotten with his testing or whether he was using python.

My opinion is gpsapp should support an interchange format, and someone else gets to write the gdf to interchange format translator. I think shapefile, the de fecto vector standard of the GIS world, should be that format, but to be honest I haven't ochecked to see if things like street direction can be represented. Perhaps I should.

Someone want to write a gdf parser?

Top
#140081 - 06/02/2003 15:13 Re: GPSApp and maps [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Perhaps. I can tell you I have no interest in doing it. Doing the autorouting with some form of vector data that's readily available is interesting. I have free vector data. Someone who cares could perhaps arrange to translate proprietary format data into a common free format.

I'd pay to get such data, sure, but I have no interest in developing for it. In fact it's not even interesting until we have a way to deal with any data, why try to do 2 hard things all at the same time (get right rendering of a map and routing on it, *and* using a proprietary format)?

Top
#140082 - 06/02/2003 15:18 Re: GPSApp and maps [Re: tfabris]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
Fossi posted:
In reply to:

found an interesting website:
http://www.ertico.com/links/gdf/gdf.htm

Here you find the specifications on the GDF map data format which is used by Teleatlas together with some sample files and explanations.




If I understand that correctly, Teleatlas uses the gdf format and the specifications of that format are available at the website linked above. Why can't we use this data? AFAIK Teleatlas provides the most accurate map data...
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140083 - 06/02/2003 15:30 Re: GPSApp and maps [Re: Daria]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
Hey, what about this?

http://www.gpsu.co.uk/features.html

From what I can tell (not sure I understand the text completely), this thing will import/export in Garmin, Magellan, MapBlast, and a bunch of other formats. I dunno exactly what it does or how it works...
_________________________
Tony Fabris

Top
#140084 - 06/02/2003 15:31 Re: GPSApp and maps [Re: Warp10]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Data exists in other formats. Do you know of translators from shapefile to GDF, at least? Forcing data to be purchased in order for development to get done isn't a good way to have any development get done.

Basically you need to find someone interested in writing a GDF to something translator, or a something to GDF translator. I have no interest in doing either of those things.

Top
#140085 - 06/02/2003 15:34 Re: GPSApp and maps [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Needing to convert the data offline (I don't do Windows) isn't really that exciting either. If the "Garmin, Magellan, " comments mean downloading and uploading lists of waypoints or a track log, it's not that exciting period.

Top
#140086 - 06/02/2003 15:41 Re: GPSApp and maps [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
And incidentally here's the answer about MapBlast:
http://www.gpsy.com/tutorials/mapblast.html

Top
#140087 - 06/02/2003 15:43 Re: GPSApp and maps [Re: Daria]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
As of 99/7/5 the MapBlast site no longer offers GPS directions due to a contractual change with their data provider.

Yeah, I was wondering about MapBlast. That's the second time I've seen something on the web that seemed to hint that I could use MapBlast to download a binary file of the driving directions themselves, yet I could never find a link to do that on their site.
_________________________
Tony Fabris

Top
#140088 - 06/02/2003 16:19 Re: GPSApp and maps [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Thinking about my time commitments I think it's so bad that if a CD showed up as a bribe I wouldn't even have time to work on parsing the format. Sigh.

Top
#140089 - 06/02/2003 23:45 Re: GPSApp and maps [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
For the convenient use of the gps application I'd be glad to have complete map data CD's on the hard disc to recalculate routes automatically in case of traffic jams and the like - in Germany we already receive traffic information electronically - and to define routes without internet access.

So the question would be which CD's to use. They should be available for different countries and need to be up to date (updated periodically!). That's what I don't see for any free map data as updating is hell a lot of work to do and needs to be financed. In any case we will have to pay for useable map data! So only commercial products remain suitable - but they should at least follow open specifications.

GDF is in fact not a proprietary format but an open specifiaction used not only by Teleatlas (see http://www.ertico.com/links/gdf/gdf.htm). Teleatlas is just a commercial provider of map data according to the open GDF specification - and in my view the best provider in the world today. The GDF format is used by almost all of the commercial navigation systems and is already installed in thousands and millions of cars. So map data updates for the long future are guaranteed and the map data format is not likely to change (as already installed systems need updates in the actual format).

So I see no real alternative for GDF is we want to have useable map data.

Juergen

(BTW: I'm not paid by Teleatlas)

Top
#140090 - 06/02/2003 23:52 Re: GPSApp and maps [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Name a single open source application that already uses GDF. Any one, I don't care. I'm actually curious to see how it works, and like the last 20 messages said, I don't have time to write a parser for it myself.

(BTW: I'm not paid by Teleatlas)
I believe you.

It just looks like a lot of "cart before horse" from here, and I don't mean you particularly, either, so please don't consider this a personal attack; I don't mean it that way.

Top
#140091 - 07/02/2003 00:45 Re: GPSApp and maps [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
O.K., I understand your point.

So our task is to find either open soure parts for parsing GDF files or a translator form GDF to GIS-T or.

Anybody out there with an idea?

BTW: Some interesting information on map file formats and the like: http://www.nas.edu/trb/publications/nchrp/nchrp_rpt_460.pdf (see also attachement)


Attachments
139271-nchrp_rpt_460.pdf (187 downloads)


Top
#140092 - 07/02/2003 01:07 Re: GPSApp and maps [Re: fossi]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Actually, if you can get any sufficient format that OGR (http://gdal.velocet.ca/) already speaks, getting it into any other format is simple.

However it looks like OGR will only *create* shapefile, "Mapinfo" file ("tab" files) and some database-backed formats.

Interestingly it appears teleatlas already distributes some data in mapinfo tab form.

Top
#140093 - 07/02/2003 01:10 Re: GPSApp and maps [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Also, there's a free MapInfo tab and .MIF/.MID library here:
http://pages.infinit.net/danmo/e00/index-mitab.html

Top
#140094 - 07/02/2003 05:26 Re: GPSApp and maps [Re: Daria]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
This link contains information about TeleAtlas Multinet.
http://www.teleatlas.com/frames.jsp?page=gis_main.htm

Here's a quote from that url:
"MultiNet is available in GDF-AS (GDF-ASCII-Sequential), GDF-AR (GDF-ASCII-Relational) and ShapeFile Format."

So we have TeleAtlas Data in the shapefile format. The Multinet CDs are released twice a year.
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140095 - 07/02/2003 06:09 Re: GPSApp and maps [Re: fossi]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
Here's at least a commercial program that reads/writes _many_ formats, including GDF and Shapefile (See link... an overview of the formats)
http://www.safe.com/products/fme/formats/index.php

But it's quite expensive. The GDF reader plugin alone is about 4000 USD
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140096 - 07/02/2003 06:23 Re: GPSApp and maps [Re: Warp10]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
Or this one http://www.manifold.net/products/mfd50pro/mfd50pro_home.html
Includes GDF import
much cheaper... 245 USD
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140097 - 07/02/2003 09:15 Re: GPSApp and maps [Re: Daria]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Information from the Teleatlas MultiNet broschure:

Tele Atlas MultiNet™ shapefile format offers the complete, high-end Tele Atlas
database contents structured according to a ready-to-use layered data model
and in a standard GIS format. As such, the Tele Atlas flagship product MultiNet
is available in a run-time data exchange format that is easy to implement into
any GIS-based application.
MultiNet shapefile offers the greatest coverage area, completeness, accuracy,
and most recent data, compliant to the highest demands of turn-by-turn
navigation applications and offers optimum geocoding match rates. Shapefile
is designed for direct use with standard GIS software and tools and is
optimized for fast and superior cartographic display, accurate geocoding and
rapid optimal route calculation.
MultiNet is available in shapefile format for Western Europe and the United
States.
Shapefile format was created at ESRI®, Environmental Systems Research
Institute, Inc. (http://www.esri.com).

(see attached)


Attachments
139346-multinet_sh.pdf (182 downloads)


Top
#140098 - 07/02/2003 10:50 Re: GPSApp and maps [Re: fossi]
jaharkes
enthusiast

Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
I'm pretty much ignoring all of these discussions about various applications and map formats.

Many of the links that are repeated over and over are raster/bitmap based 'map scrollers', which boils down to a georeferenced image that is moved along depending on your location. i.e. it won't tell you how many miles to the next turn and what the name of the street is. They typically depend on having a lot of colors and higher resolution to avoid screen clutter, it is probably possible to get something like that to work, and possibly a lot simpler even than the current gpsapp, but I don't find it interesting.

Then I really love those, look at this link, maybe gpsapp could use some of their code. But when I go there there is a trivial 'block diagram', and an overly bloated user interface specification that shows that someone doesn't know that all GPS receivers can/will use the WGS84 datum, and that simple SysV ipc system calls do not become 'clearer' by wrapping them like DoReceiveQueuedMessage(foo, bar) { ipc_rcv(foo, bar); }. However there is no code.

And finally, any open specification format (GDF/Shapefile) does _intentionally_ only document the interchange part of the dataset. The important part for routing and mapping applications are the spatial indexes. There is surprisingly little information in this area documented, and most of it is guarded closely by patents.

I've mostly been looking at using a geo-hash in a simple flat database, or a 2 dimensional quadtree index. Converting from whatever to whatever is trivial compared to having to efficiently find routes across a continent when you have every single road in your dataset. It takes my desktop a considerable time and a lot of memory to find the 'optimal' route between 2 points in a single city. Of course I don't know much about routing, but I'm sure that some heuristics can give an almost optimal route in hardly any time at all. I still do have to 'reinvent' those heuristics.

So really I don't care about gdf, shapefile, teleatlas, or whatever else there is, they are 'exchange formats', and not readily useful for actual use. Sorry for blowing up there for a second, but it is really ridiculous, I see the same links pop up in different threads and nothing useful or even realistic is added. The difficulty is not reading the data off the disk in whatever format it is stored. It is how to read only the data that we're really interested in and what to do with once we have it in memory.
_________________________
40GB - serial #40104051 gpsapp

Top
#140099 - 07/02/2003 12:01 Re: GPSApp and maps [Re: jaharkes]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
Sorry for getting on you nerves. 0:-)
To speak for myself, I'm not a programmer, but I try to do what's in my power to help you to get real-time navigation working with gpsapp. If I can support you by sending money, I will do so (but keep in mind, I'm still a high school student ;-)
At least I post what I think might be usefull. Sorry again.

I thought the problem is to interface the data and the pathfinding algorithm is relatively trivial. I don't understand that a TeleAtlas CD suffices for a car navigation system and we can't use the information on that CD. Also I don't understand why a car navigation system can do the route finding in a few seconds and we can't? Do they use better CPU as the StrongArm?
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140100 - 07/02/2003 12:33 Re: GPSApp and maps [Re: Warp10]
jaharkes
enthusiast

Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
I thought the problem is to interface the data and the pathfinding algorithm is relatively trivial. I don't understand that a TeleAtlas CD suffices for a car navigation system and we can't use the information on that CD. Also I don't understand why a car navigation system can do the route finding in a few seconds and we can't? Do they use better CPU as the StrongArm?

Finding a path is relatively trivial, I got that working in about an hour. But doing it quickly is more difficult. For instance we could optimize the path finding algorithm by only considering roads that are going towards our final target (or at least bring us closer to it). However this way we won't see that if we drive in the wrong direction for 2 blocks that there is a much faster highway to get us there. If we keep track of every possiblity we've evaluated it is trivial to find shortcuts that we happen to have seen before or avoid going down the same street that leads to a dead-end when backtracking. But we don't have memory to remember all possible paths we looked at previously.

Same way with accessing the dataset. Of course we can read through the whole file and draw whatever street happens to fall within the boundaries of the display (or area that we are looking at during routing). That would mean reading several MB (or even GB) for each screen redraw.

For instance, I've been playing with the Tiger/Line dataset for Pennsylvania. There are 9160094 line segments (not all of these are actually streets). So having an index to quickly find the 50-100 segments around my current location is very important, otherwise I have to check every line to see if it happens to intersect with the currently displayed area. All the magic to do this efficiently is in the spatial indexes, which is why those are such a closely guarded secret.

They also might be using a CPU that is more efficient at floating point calculations and doesn't run a software mp3 decoder and visualizations at the same time, but the strongarm should be good enough.
_________________________
40GB - serial #40104051 gpsapp

Top
#140101 - 07/02/2003 13:01 Re: GPSApp and maps [Re: jaharkes]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
Why are spatial indexes a guarded secret? I thought it is a common technique to speed up database queries in general?
/me hoping not to get on your nerves to much....
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
#140102 - 07/02/2003 13:04 Re: GPSApp and maps [Re: jaharkes]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Finding a path is relatively trivial, I got that working in about an hour. But doing it quickly is more difficult.

I've been looking for research papers on the subject, but thus far hadn't found anything of interest.

Top
#140103 - 07/02/2003 13:04 Re: GPSApp and maps [Re: jaharkes]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31567
Loc: Seattle, WA
Honestly, I don't really care to see pathfinding implemented right on the car player. Although it would be neat to see implemented, I wouldn't tend to use it very much.

I'd rather use someone else's carefully engineered (and commercial-quality) mega-reliable pathfinding engine, and download *that* path to the player.

In fact, I think the MapsOnUs solution is the best possible "basic architecture" for my needs. It does exactly what I want it to do... If only MapsOnUs didn't suck so bad...

I like the idea of intercepting the Garmin download and converting it into GPSapp file-format. That sounds like it would be about the same (architecturally) as the MapsOnUs solution, but with better mapping data and better pathfinding.
_________________________
Tony Fabris

Top
#140104 - 07/02/2003 13:57 Re: GPSApp and maps [Re: jaharkes]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
For instance, I've been playing with the Tiger/Line dataset for Pennsylvania. There are 9160094 line segments (not all of these are actually streets). So having an index to quickly find the 50-100 segments around my current location is very important, otherwise I have to check every line to see if it happens to intersect with the currently displayed area.

That sounds like a typical programming competition task... the kind where I read the winners notes hoping to learn something, but they're all over my head
_________________________
--The Amigo

Top
#140105 - 07/02/2003 16:51 Re: GPSApp and maps [Re: tfabris]
lopan
old hand

Registered: 28/01/2002
Posts: 970
Loc: Manassas VA
In reply to:

Honestly, I don't really care to see pathfinding implemented right on the car player



I have to agree with you, I used gpsapp on a trip to NC from VA on wednesday, I think it's an awesome solution, probably the best possible way to do it with the limited display capabilities. The trip was only 315 miles yet maps on us tells me its 625? Yeah MapsOnUs is terrible I wish big brother would implement raw data with streets and trips... I used streets and trips on a laptop during the summer on a road trip from CA to VA and the street info and gps implentation was dead on...

Granted I'd love my empeg to have a 5inch touchscreen lcd display with an onscreen keyboard for typing info easily, but I don't see that happenin any time soon
_________________________
Brett 60Gb MK2a with Led's

Top
#140106 - 07/02/2003 17:18 Re: GPSApp and maps [Re: lopan]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Honestly, I don't really care to see pathfinding implemented right on the car player

have to agree with you

Don't implement it, and don't use it, then.

Top
#140107 - 07/02/2003 18:14 Re: GPSApp and maps [Re: Daria]
lopan
old hand

Registered: 28/01/2002
Posts: 970
Loc: Manassas VA
Don't get me wrong it'd be cool, I just want data that doesn't suck... I'd be 200% happy with the app, it's cool like it is now, but not 100% dependable.
_________________________
Brett 60Gb MK2a with Led's

Top
#140108 - 08/02/2003 06:47 Re: GPSApp and maps [Re: jaharkes]
fossi
journeyman

Registered: 12/01/2003
Posts: 64
Loc: Germany
Don't know if I fully understood all issues right.

My imagination would be that:
- you set the desitination manually
- get the actual position from GPS
- calculate the best route from here to destination (which is a rather and probably the most complicated task)
- transmit this route to gpsapp (prob. as shapefile)
- best case but not essential: gpsapp draws the map around the actual position (but arm could be overloaded)
- follow the route with gpsapp
- if you leave the route gpsapp gives the user a notification
- calculate a new route with the actual GPS position as start point (manually or automatically triggered)
- restart gpsapp with the new route

So the critical tasks would be to read map disc data, calculate routes and generate a input file for gpsapp.

This is in fact not as comfortable as a commercial navigation system but at least suitable for frequent drivers.

Juergen

Top
#140109 - 08/02/2003 13:23 Re: GPSApp and maps [Re: fossi]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
That brings up an interesting idea.

I was thinking about the problem of determining which roads might be drawn on screen without having to going through all of them every frame. I came to the conclusion that it's over my head

But what if a desktop PC computed the route and when it sent it to GPSapp, it also sent along a list of all the roads within a given radius along the current trip's path. It could even build an index as to which ones branch off the current path.

That might make it easy enough for GPSapp to show surrounding roads when drawing the current path.
_________________________
--The Amigo

Top
#140110 - 08/02/2003 17:54 Re: GPSApp and maps [Re: jaharkes]
Warp10
member

Registered: 18/02/2002
Posts: 179
Loc: Germany
hey jaharkes, here's another link
concerning the route calculation algorithm:
http://sourceforge.net/projects/routeplanner
_________________________
---------------------------- MK1: 00314 (4GB) MK2a: 030103104 (30GB) Installed in a BMW 323ti

Top
Page 1 of 2 1 2 >