-
Notifications
You must be signed in to change notification settings - Fork 1
fosm/FOSM-Gt.m-extractor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Version 0.0000001 Mon Feb 13 This is my first running version of a C Program that accesses the fosm database. The program loops ovre the main index of the nodex relation that contains the tags. so the first key is the tag. There are more keys that are not used yet, they are : 1. TagName 2. Value 3. QuadTreeIndex 4. NodeID Here is an example to query the database : GTM>zwr ^nodex("highway","service",*) output is : ^nodex("highway","service","bacdbccbdabacad",1229063980)="" Now my simple program uses the $Order function See the tags that I extracted so far here NodeX_TagKeys.txt FOSM contains many data relations, see Readme.relations, the numbers are from my database copy and may be old. Thanks to 80n for his help and patience while I am learning this. mike ---------------------------------------------------------------------------- More Notes example data: ^relation(4042,"seq",434,"role")="" ^relation(4042,"seq",434,"type")="way" ^relation(4042,"seq",435,"ref")=61326636 Here are some example invocations : ~/experiments/simpletest/simple -t element -j -c10; stty sane get the first ten level one keyss from the element table. on of the keys is :aacbdddbabdcaba ~/experiments/simpletest/simple -t element -kaacbdddbabdcaba -c10; stty sane # examples for long keys : ~/experiments/simpletest/simple -t changeset -k 8701754 -l n -m 585056240 -n v -o 2 -c10 ~/experiments/simpletest/simple -t changeset -k 8701754 -l n -m 585056240 -n v -o 2 -pa -c10 -v ~/experiments/simpletest/simple -t changeset -k 8701754 -l n -m 585056240 -n v -o 2 -pu -q 101 -v -c10 ; dont forget this at the end : stty sane commit 0113ef3b14bcde7268c4c6a1882ed2766ac6445f Author: James Michael DuPont <[email protected]> Date: Mon Feb 27 03:32:59 2012 -0800 adding more params
About
Extractor for FOSM GT.m data
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published