]> err.no Git - mapper/log
mapper
17 years agoUse a plain gtk_range for filter settings.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:11:13 +0000 (13:11 +0300)]
Use a plain gtk_range for filter settings.
The hildon bars look very-bad with a big range.
Load and save osm filter.
Show hardware button configuration dialog under hildon only.
Misc other changes.

17 years agoFix gtk_spin_button_set_range.
Kaj-Michael Lang [Fri, 27 Jul 2007 09:47:34 +0000 (12:47 +0300)]
Fix gtk_spin_button_set_range.
Other small changes.

17 years agoAdd some more points
Kaj-Michael Lang [Fri, 27 Jul 2007 09:15:48 +0000 (12:15 +0300)]
Add some more points

17 years agoCleanups
Kaj-Michael Lang [Fri, 27 Jul 2007 09:06:08 +0000 (12:06 +0300)]
Cleanups

17 years agoMake place cache work. Use dynamic place variables in map.c
Kaj-Michael Lang [Fri, 27 Jul 2007 08:49:21 +0000 (11:49 +0300)]
Make place cache work. Use dynamic place variables in map.c

17 years agoRemove more generated files
Kaj-Michael Lang [Fri, 27 Jul 2007 07:50:42 +0000 (10:50 +0300)]
Remove more generated files

17 years agoAdd osm_deinit
Kaj-Michael Lang [Fri, 27 Jul 2007 07:49:14 +0000 (10:49 +0300)]
Add osm_deinit
Start to add place cache so we don't need to query to the database every time we move.
Change the distance2line function to take gdouble instead of ints.
Change helper to cast int->double

17 years agoCall osm_init/osm_deinit
Kaj-Michael Lang [Fri, 27 Jul 2007 07:47:38 +0000 (10:47 +0300)]
Call osm_init/osm_deinit

17 years agoRemove some more generated files
Kaj-Michael Lang [Wed, 25 Jul 2007 11:37:05 +0000 (14:37 +0300)]
Remove some more generated files

17 years agoIt's Mapper now.
Kaj-Michael Lang [Wed, 25 Jul 2007 11:36:33 +0000 (14:36 +0300)]
It's Mapper now.

17 years agoMore maemo/hildon fixes.
Kaj-Michael Lang [Wed, 25 Jul 2007 10:52:10 +0000 (13:52 +0300)]
More maemo/hildon fixes.

17 years agoHopefully fix git fuckup.. ?
Kaj-Michael Lang [Wed, 25 Jul 2007 09:54:23 +0000 (12:54 +0300)]
Hopefully fix git fuckup.. ?

This reverts commit b7ae25b2a3f40b1e2ebc2a869ad5aa380ea7ae58.

17 years agoRemove warnings
Kaj-Michael Lang [Wed, 25 Jul 2007 09:31:42 +0000 (12:31 +0300)]
Remove warnings

17 years agoMerge
Kaj-Michael Lang [Wed, 25 Jul 2007 09:30:16 +0000 (12:30 +0300)]
Merge

17 years agomisc
Kaj-Michael Lang [Wed, 25 Jul 2007 09:30:08 +0000 (12:30 +0300)]
misc

17 years agoFixes so it builds for hildon. Not complete.
Kaj-Michael Lang [Wed, 25 Jul 2007 08:42:29 +0000 (11:42 +0300)]
Fixes so it builds for hildon. Not complete.

17 years agoEnable calling of flite on non-hildon too.
Kaj-Michael Lang [Wed, 25 Jul 2007 08:06:07 +0000 (11:06 +0300)]
Enable calling of flite on non-hildon too.
Fix the variable used.
For now, just beep on plain gtk

17 years agomisc
Kaj-Michael Lang [Tue, 24 Jul 2007 20:43:35 +0000 (23:43 +0300)]
misc

17 years agoStart to use a static location structure, with street/primary/secondary location.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:43:15 +0000 (23:43 +0300)]
Start to use a static location structure, with street/primary/secondary location.
Check if we are on the same way as last time and skip database query if so.
Use idle function to update location. (For now, a thread would be nicer so the UI won't block even if the query would take time).

17 years agoUse a helper function to check the distance to line from given lat, lon to given...
Kaj-Michael Lang [Tue, 24 Jul 2007 20:41:03 +0000 (23:41 +0300)]
Use a helper function to check the distance to line from given lat, lon to given node pair.
Store the used node pair in the way structure so we can use them later.

17 years agoAdd check for geoclue
Kaj-Michael Lang [Tue, 24 Jul 2007 20:38:49 +0000 (23:38 +0300)]
Add check for geoclue

17 years agoAdd speed and isin fields for ways.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:38:07 +0000 (23:38 +0300)]
Add speed and isin fields for ways.

17 years agoHandle access=private tag
Kaj-Michael Lang [Tue, 24 Jul 2007 20:37:36 +0000 (23:37 +0300)]
Handle access=private tag
Handle maxspeed/speedlimit tag
Don't waste memory on segments outside requested area.

17 years agoAdd noaccess flag.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:35:43 +0000 (23:35 +0300)]
Add noaccess flag.
Add osm_location struct.
Start to add route waypoint structs

17 years agoFix duplicate functions. Use common scan_bluetooth in gps-browse.c
Kaj-Michael Lang [Tue, 24 Jul 2007 11:26:48 +0000 (14:26 +0300)]
Fix duplicate functions. Use common scan_bluetooth in gps-browse.c
Start idle scanning function in bt-bluez.c

17 years agoUpdate
Kaj-Michael Lang [Tue, 24 Jul 2007 10:01:16 +0000 (13:01 +0300)]
Update

17 years agoPrinting
Kaj-Michael Lang [Tue, 24 Jul 2007 10:01:08 +0000 (13:01 +0300)]
Printing

17 years agoAdd TODO file
Kaj-Michael Lang [Tue, 24 Jul 2007 09:55:11 +0000 (12:55 +0300)]
Add TODO file

17 years agoRemove more references to POIs in variables
Kaj-Michael Lang [Tue, 24 Jul 2007 09:53:47 +0000 (12:53 +0300)]
Remove more references to POIs in variables
as the database is not just for POIs anymore.
Start to a a track point filter using OSM data.

17 years agoAdd note that this is a fork of maemo-mapper and original copyrights.
Kaj-Michael Lang [Tue, 24 Jul 2007 09:52:16 +0000 (12:52 +0300)]
Add note that this is a fork of maemo-mapper and original copyrights.
Add my own copyright.
Add some quick documentation on how to import osm data.

17 years agoCheck that w is not null before freeing.
Kaj-Michael Lang [Mon, 23 Jul 2007 12:36:25 +0000 (15:36 +0300)]
Check that w is not null before freeing.

17 years agoRename browse button name as it's not just pois anymore.
Kaj-Michael Lang [Mon, 23 Jul 2007 12:36:10 +0000 (15:36 +0300)]
Rename browse button name as it's not just pois anymore.

17 years agoUse gps position for location only if center mode is other than manual
Kaj-Michael Lang [Mon, 23 Jul 2007 12:35:43 +0000 (15:35 +0300)]
Use gps position for location only if center mode is other than manual

17 years agoAdd bounding box support. Needs to skip segments and ways outside of it when loading...
Kaj-Michael Lang [Mon, 23 Jul 2007 12:35:08 +0000 (15:35 +0300)]
Add bounding box support. Needs to skip segments and ways outside of it when loading but I don't know.. lookups takes time too...

17 years agoCleanups.
Kaj-Michael Lang [Mon, 23 Jul 2007 11:24:23 +0000 (14:24 +0300)]
Cleanups.
Use a smaller box for nearest poi.
Update location info when gps position changes.

17 years agoRemove most debuging output. Free the way structures we don't need.
Kaj-Michael Lang [Mon, 23 Jul 2007 10:43:24 +0000 (13:43 +0300)]
Remove most debuging output. Free the way structures we don't need.

17 years agoHandle way ref and int_ref for info banner
Kaj-Michael Lang [Mon, 23 Jul 2007 10:42:52 +0000 (13:42 +0300)]
Handle way ref and int_ref for info banner

17 years agoDraw the poi label a little nicer
Kaj-Michael Lang [Mon, 23 Jul 2007 10:42:30 +0000 (13:42 +0300)]
Draw the poi label a little nicer

17 years agoWay search and display works.
Kaj-Michael Lang [Sun, 22 Jul 2007 23:57:49 +0000 (02:57 +0300)]
Way search and display works.

17 years agoQuery poi
Kaj-Michael Lang [Sun, 22 Jul 2007 16:11:31 +0000 (19:11 +0300)]
Query poi

17 years agoMove more poi db handling from cb.c to poi.c
Kaj-Michael Lang [Sun, 22 Jul 2007 16:00:13 +0000 (19:00 +0300)]
Move more poi db handling from cb.c to poi.c
Remove table def comments, they are in docs now.

17 years agoAdd isin field for POIs.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:54 +0000 (18:08 +0300)]
Add isin field for POIs.

17 years agoDummy street place.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:39 +0000 (18:08 +0300)]
Dummy street place.
Get location from isin value if known.

17 years agoAdd function to get a place by id.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:01 +0000 (18:08 +0300)]
Add function to get a place by id.

17 years agoAdd the new categories
Kaj-Michael Lang [Sun, 22 Jul 2007 15:07:39 +0000 (18:07 +0300)]
Add the new categories

17 years agoHandle more node types (aiport, cafe, tourism, etc)
Kaj-Michael Lang [Sun, 22 Jul 2007 15:07:04 +0000 (18:07 +0300)]
Handle more node types (aiport, cafe, tourism, etc)
Start to handle isin tag, we now try to find the parent of a place and poi using the isin tag.

17 years agoMove latlon pairs distance calculation function from utils.c to latlon.c
Kaj-Michael Lang [Sun, 22 Jul 2007 12:13:28 +0000 (15:13 +0300)]
Move latlon pairs distance calculation function from utils.c to latlon.c

17 years agoMake some tiny changes to tables.
Kaj-Michael Lang [Sun, 22 Jul 2007 11:17:28 +0000 (14:17 +0300)]
Make some tiny changes to tables.
Remove unused tables. Create some more indexes.

17 years agoStart to handle place isin id #. We still need to handle storing it in osm.c
Kaj-Michael Lang [Sat, 21 Jul 2007 18:06:23 +0000 (21:06 +0300)]
Start to handle place isin id #. We still need to handle storing it in osm.c

17 years agomisc
Kaj-Michael Lang [Sat, 21 Jul 2007 17:59:52 +0000 (20:59 +0300)]
misc

17 years agomisc
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:57 +0000 (20:54 +0300)]
misc

17 years agoQuick hack to use the new info banner and osm-db place query.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:47 +0000 (20:54 +0300)]
Quick hack to use the new info banner and osm-db place query.

17 years agoAdd info_banner label for showing position information
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:18 +0000 (20:54 +0300)]
Add info_banner label for showing position information

17 years agoAdd noexit flag.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:53:43 +0000 (20:53 +0300)]
Add noexit flag.
Move structs from osm-db.c here.

17 years agoFormating.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:59 +0000 (20:52 +0300)]
Formating.

17 years agoStart to make it do something. Place query works.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:42 +0000 (20:52 +0300)]
Start to make it do something. Place query works.

17 years agoHandle "noexit" tag
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:24 +0000 (20:52 +0300)]
Handle "noexit" tag
Small fixups here and there.

17 years agoAdd
Kaj-Michael Lang [Sat, 21 Jul 2007 17:51:11 +0000 (20:51 +0300)]
Add

17 years agoBuild osm-db.c
Kaj-Michael Lang [Sat, 21 Jul 2007 17:50:57 +0000 (20:50 +0300)]
Build osm-db.c

17 years agoDocument the category table here too.
Kaj-Michael Lang [Sat, 21 Jul 2007 10:10:17 +0000 (13:10 +0300)]
Document the category table here too.

17 years agoDon't strdown the poi label.
Kaj-Michael Lang [Sat, 21 Jul 2007 10:09:53 +0000 (13:09 +0300)]
Don't strdown the poi label.
Draw label only if we have one.

17 years agoMove more code from poi-gui.c to poi.c
Kaj-Michael Lang [Sat, 21 Jul 2007 10:08:57 +0000 (13:08 +0300)]
Move more code from poi-gui.c to poi.c
Allow searching in poi dialog.
Allow sorting columns in poi dialog.
Fix bug with getting lat/lon values from poi selection.

17 years agoRemove debug output
Kaj-Michael Lang [Sat, 21 Jul 2007 08:18:32 +0000 (11:18 +0300)]
Remove debug output

17 years agoMore work on the split open/save functions.
Kaj-Michael Lang [Fri, 20 Jul 2007 14:50:25 +0000 (17:50 +0300)]
More work on the split open/save functions.
Fix the problem with hildon and gtk file dialogs returning different value (OK/ACCEPT)

17 years agoMove more direct sqlite handling from poi-gui.c to poi.c
Kaj-Michael Lang [Fri, 20 Jul 2007 14:49:16 +0000 (17:49 +0300)]
Move more direct sqlite handling from poi-gui.c to poi.c

17 years agoCheck that we can link with expat lib
Kaj-Michael Lang [Fri, 20 Jul 2007 11:41:17 +0000 (14:41 +0300)]
Check that we can link with expat lib

17 years agoAdd index on way_seg wsid
Kaj-Michael Lang [Wed, 18 Jul 2007 10:36:54 +0000 (13:36 +0300)]
Add index on way_seg wsid

17 years agoAdd file with list of example selects
Kaj-Michael Lang [Wed, 18 Jul 2007 10:36:28 +0000 (13:36 +0300)]
Add file with list of example selects

17 years agoUse a list for ways instead of a hash table as we don't need to search for ways.
Kaj-Michael Lang [Tue, 17 Jul 2007 22:11:16 +0000 (01:11 +0300)]
Use a list for ways instead of a hash table as we don't need to search for ways.
Add more checking for null values.
Optimize some.

17 years agoIgnore some more files
Kaj-Michael Lang [Tue, 17 Jul 2007 12:36:11 +0000 (15:36 +0300)]
Ignore some more files

17 years agoHandle some more amenities (speed trap, schools)
Kaj-Michael Lang [Tue, 17 Jul 2007 12:35:53 +0000 (15:35 +0300)]
Handle some more amenities (speed trap, schools)
List appending is slow, prepend instead. Free the POI list after storing.

17 years agoAdd speed trap/cam
Kaj-Michael Lang [Tue, 17 Jul 2007 12:34:52 +0000 (15:34 +0300)]
Add speed trap/cam

17 years agoBe a bit more verbose.
Kaj-Michael Lang [Tue, 17 Jul 2007 12:13:44 +0000 (15:13 +0300)]
Be a bit more verbose.
Use sqlite pragma to not sync so much.
Put POIs in a linked list so we don't need to go trough the whole node hash table when adding POI nodes.

17 years agoSplit out indexes from table definition
Kaj-Michael Lang [Tue, 17 Jul 2007 12:12:24 +0000 (15:12 +0300)]
Split out indexes from table definition

17 years agoRemove more generated files
Kaj-Michael Lang [Tue, 17 Jul 2007 08:16:40 +0000 (11:16 +0300)]
Remove more generated files

17 years agoRemove generated files
Kaj-Michael Lang [Tue, 17 Jul 2007 08:15:40 +0000 (11:15 +0300)]
Remove generated files

17 years agoautoconf related cleanup
Kaj-Michael Lang [Tue, 17 Jul 2007 08:14:28 +0000 (11:14 +0300)]
autoconf related cleanup

17 years agoAdd files to ignore
Kaj-Michael Lang [Tue, 17 Jul 2007 08:14:03 +0000 (11:14 +0300)]
Add files to ignore

17 years agoFormating
Kaj-Michael Lang [Mon, 16 Jul 2007 14:08:24 +0000 (17:08 +0300)]
Formating

17 years agoDisplay poi text only when zoomed in close
Kaj-Michael Lang [Mon, 16 Jul 2007 14:07:52 +0000 (17:07 +0300)]
Display poi text only when zoomed in close

17 years agoPrepare sql statements with _v2 version.
Kaj-Michael Lang [Mon, 16 Jul 2007 14:03:48 +0000 (17:03 +0300)]
Prepare sql statements with _v2 version.
Don't ignore POIs without names.
Break out of the loop if a match is found.. stupid me

17 years agomisc
Kaj-Michael Lang [Mon, 16 Jul 2007 13:35:44 +0000 (16:35 +0300)]
misc

17 years agoAdd start of functions for getting usefull way/route data out from the database.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:35:24 +0000 (16:35 +0300)]
Add start of functions for getting usefull way/route data out from the database.

17 years agoRemove gps reset hack.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:33:48 +0000 (16:33 +0300)]
Remove gps reset hack.

17 years agoFormating.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:32:55 +0000 (16:32 +0300)]
Formating.
Add debug helper

17 years agoAdd latlon.c to source list.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:32:11 +0000 (16:32 +0300)]
Add latlon.c to source list.
Link to libm

17 years agoAnd debug int lat/lon for a known place.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:31:26 +0000 (16:31 +0300)]
And debug int lat/lon for a known place.

17 years agoUse predefined id numbers from osm.h for categories.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:30:46 +0000 (16:30 +0300)]
Use predefined id numbers from osm.h for categories.
Remove the old categories.
Check default categories every time we start.

17 years agoHandle all different place types instead of mergeing some.
Kaj-Michael Lang [Mon, 16 Jul 2007 12:37:24 +0000 (15:37 +0300)]
Handle all different place types instead of mergeing some.
Use conversion helper in latlon.c/h

17 years agoAdd school/college and generic amenity
Kaj-Michael Lang [Mon, 16 Jul 2007 12:36:31 +0000 (15:36 +0300)]
Add school/college and generic amenity

17 years agoStart to move lat/lon conversion functions/helpers here
Kaj-Michael Lang [Mon, 16 Jul 2007 11:02:52 +0000 (14:02 +0300)]
Start to move lat/lon conversion functions/helpers here

17 years agoAdd field to store where the place is in (0=no idea, anything else=id of parent place...
Kaj-Michael Lang [Mon, 16 Jul 2007 09:51:01 +0000 (12:51 +0300)]
Add field to store where the place is in (0=no idea, anything else=id of parent place where place is located)

17 years agoAdd place table for storing cities, towns, villages, hamlets and suburbs
Kaj-Michael Lang [Mon, 16 Jul 2007 09:49:44 +0000 (12:49 +0300)]
Add place table for storing cities, towns, villages, hamlets and suburbs

17 years agoAdd more map click modes
Kaj-Michael Lang [Mon, 16 Jul 2007 08:54:03 +0000 (11:54 +0300)]
Add more map click modes

17 years agoUpdate table definitions
Kaj-Michael Lang [Mon, 16 Jul 2007 08:53:34 +0000 (11:53 +0300)]
Update table definitions

17 years agoStore way names, ref and int_ref
Kaj-Michael Lang [Mon, 16 Jul 2007 08:53:02 +0000 (11:53 +0300)]
Store way names, ref and int_ref
Use separate data object for way extra data (name, ref, int_ref)

17 years agoOptimize memory usage. Recognize more way and node types.
Kaj-Michael Lang [Mon, 16 Jul 2007 06:42:31 +0000 (09:42 +0300)]
Optimize memory usage. Recognize more way and node types.

17 years agoAdd table definition
Kaj-Michael Lang [Wed, 11 Jul 2007 12:11:57 +0000 (15:11 +0300)]
Add table definition

17 years agoformating
Kaj-Michael Lang [Wed, 11 Jul 2007 12:10:31 +0000 (15:10 +0300)]
formating

17 years agoAdd start of a OSM planet to sqlite database parser.
Kaj-Michael Lang [Wed, 4 Jul 2007 12:12:22 +0000 (15:12 +0300)]
Add start of a OSM planet to sqlite database parser.
Right now it can parse some of the OSM POI nodes and ways.