]> err.no Git - mapper/log
mapper
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.

17 years agoAdd checks for expat and glib
Kaj-Michael Lang [Wed, 4 Jul 2007 12:11:20 +0000 (15:11 +0300)]
Add checks for expat and glib

17 years agomisc
Kaj-Michael Lang [Mon, 2 Jul 2007 12:41:45 +0000 (15:41 +0300)]
misc

17 years agoFixes so it builds again under maemo scratchbox.
Kaj-Michael Lang [Mon, 2 Jul 2007 12:40:04 +0000 (15:40 +0300)]
Fixes so it builds again under maemo scratchbox.

17 years agoAdd dbus stuff
Kaj-Michael Lang [Mon, 2 Jul 2007 12:14:28 +0000 (15:14 +0300)]
Add dbus stuff

17 years agoFormating only
Kaj-Michael Lang [Mon, 2 Jul 2007 12:14:18 +0000 (15:14 +0300)]
Formating only

17 years agoHide the progress bar
Kaj-Michael Lang [Thu, 28 Jun 2007 13:17:28 +0000 (16:17 +0300)]
Hide the progress bar

17 years agoMerge branch 'master' of git+ssh://tal.org/home/git/mapper
Kaj-Michael Lang [Thu, 28 Jun 2007 13:03:25 +0000 (16:03 +0300)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper

Resolve conflicts:

src/map.c

17 years agoCode formating.
Kaj-Michael Lang [Thu, 28 Jun 2007 12:42:35 +0000 (15:42 +0300)]
Code formating.
If new zoom is the same as before, do nothing.

17 years agoCode formating fixes.
Kaj-Michael Lang [Thu, 28 Jun 2007 12:41:25 +0000 (15:41 +0300)]
Code formating fixes.
Select POI icon and color.

17 years agoAdd DOP information text label.
Kaj-Michael Lang [Thu, 28 Jun 2007 12:39:33 +0000 (15:39 +0300)]
Add DOP information text label.

17 years agoRemove some debug output.
Kaj-Michael Lang [Wed, 27 Jun 2007 13:28:32 +0000 (16:28 +0300)]
Remove some debug output.
Make code easier to read.

17 years agoFix route save.
Kaj-Michael Lang [Wed, 27 Jun 2007 13:27:25 +0000 (16:27 +0300)]
Fix route save.
Move save operation from cb.c to route.c

17 years agoAdd a progress bar to the toolbar.
Kaj-Michael Lang [Tue, 19 Jun 2007 13:08:21 +0000 (16:08 +0300)]
Add a progress bar to the toolbar.
Use the progress bar from the hildon wrappers

17 years agoFormating.
Kaj-Michael Lang [Tue, 19 Jun 2007 13:07:30 +0000 (16:07 +0300)]
Formating.
Split the markup text setter from the gui.

17 years agoStart to add track storage things.
Kaj-Michael Lang [Tue, 19 Jun 2007 11:48:56 +0000 (14:48 +0300)]
Start to add track storage things.

17 years agoMake Home location setting/goto/save/load work.
Kaj-Michael Lang [Tue, 19 Jun 2007 11:31:52 +0000 (14:31 +0300)]
Make Home location setting/goto/save/load work.

17 years agoThe database is not specific to POIs only so rename/move variables.
Kaj-Michael Lang [Tue, 19 Jun 2007 09:32:57 +0000 (12:32 +0300)]
The database is not specific to POIs only so rename/move variables.

17 years agomisc
Kaj-Michael Lang [Tue, 19 Jun 2007 09:32:12 +0000 (12:32 +0300)]
misc

17 years agoAdd proper protection to db.h
Kaj-Michael Lang [Tue, 19 Jun 2007 09:21:27 +0000 (12:21 +0300)]
Add proper protection to db.h
Remove unused variables from db.c
Remove all direct gui stuff from db.c

17 years agoRemove timeout if we are updating the message
Kaj-Michael Lang [Thu, 14 Jun 2007 22:05:30 +0000 (01:05 +0300)]
Remove timeout if we are updating the message

17 years agoFix
Kaj-Michael Lang [Thu, 14 Jun 2007 22:05:09 +0000 (01:05 +0300)]
Fix

17 years agoUse gtk_color_button
Kaj-Michael Lang [Thu, 14 Jun 2007 22:04:48 +0000 (01:04 +0300)]
Use gtk_color_button

17 years agoAdd
Kaj-Michael Lang [Thu, 14 Jun 2007 19:55:14 +0000 (22:55 +0300)]
Add

17 years agoAdd
Kaj-Michael Lang [Thu, 14 Jun 2007 19:54:32 +0000 (22:54 +0300)]
Add

17 years agoAdd
Kaj-Michael Lang [Thu, 14 Jun 2007 14:34:43 +0000 (17:34 +0300)]
Add

17 years agoUse a hpaned for info/map view.
Kaj-Michael Lang [Thu, 14 Jun 2007 13:37:19 +0000 (16:37 +0300)]
Use a hpaned for info/map view.

17 years agoFix typo
Kaj-Michael Lang [Wed, 13 Jun 2007 10:35:58 +0000 (13:35 +0300)]
Fix typo

17 years agoCleanups.
Kaj-Michael Lang [Wed, 13 Jun 2007 10:35:24 +0000 (13:35 +0300)]
Cleanups.
Add simple gps track point filtering with hdop, vdop and minimum heading change.