Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

/[routino]/trunk/src/osmparser.c
ViewVC logotype

Log of /trunk/src/osmparser.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:


Revision 1560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 30 18:39:35 2014 UTC (10 years, 10 months ago) by amb
File length: 33734 byte(s)
Diff to previous 1559
Update the visualiser web page to allow displaying the "cyclebothways" highway
type and the "roundabout" highway type.  Also "cyclebothways" is no longer a
property so removed from that part of the visualiser.


Revision 1559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 29 17:38:50 2014 UTC (10 years, 10 months ago) by amb
File length: 33591 byte(s)
Diff to previous 1497
Remove the "cyclebothways" property and replace it with a "cyclebothways"
highway type.  This means that it is no longer possible to choose a preference
for this type of highway when calculating a route.  There was never really any
reason for allowing users to do this since they can't specify a preference for
oneway streets.  It does however mean that the broken Javascript in the router
web page (no entry field for this property) is fixed.  Unfortunately this means
that a database created by previous versions are not compatible with this one.


Revision 1497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 27 19:48:26 2014 UTC (11 years, 1 month ago) by amb
File length: 33580 byte(s)
Diff to previous 1467
Detect the "cycleway=opposite_lane" tag and allow bicycles to travel in both
directions along those highways.  Based on parts of
https://github.com/cgravier/routino-2.6-bikeopposite-elevation/commit/47d68b37f1ea0d2f967ea6aa1555991747491200
https://github.com/cgravier/routino-2.6-bikeopposite-elevation/commit/764832f2671e6f6d8176be65cea3992bd1a488d3
https://github.com/cgravier/routino-2.6-bikeopposite-elevation/commit/37af908880c045309fba1125c4d683f6925f7d25
by Christophe Collard.


Revision 1467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 13 17:24:21 2013 UTC (11 years, 4 months ago) by amb
File length: 32991 byte(s)
Diff to previous 1370
Refactor the length, weight and speed parsing functions a little bit and add
some new formats.


Revision 1370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 3 17:23:39 2013 UTC (11 years, 9 months ago) by amb
File length: 32355 byte(s)
Diff to previous 1356
Write relation nodes into the file as well as ways and relations.


Revision 1356 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 31 17:23:18 2013 UTC (11 years, 9 months ago) by amb
File length: 32235 byte(s)
Diff to previous 1347
Move some functions about so that osmparser.c can be replaced for other types of
parsing.


Revision 1347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 27 17:36:11 2013 UTC (11 years, 9 months ago) by amb
File length: 36799 byte(s)
Diff to previous 1339
Redistributed error log messages from osmparser way handling.


Revision 1339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 23 17:47:16 2013 UTC (11 years, 10 months ago) by amb
File length: 37686 byte(s)
Diff to previous 1338
Don't create segments when parsing input file but create the segments later
using the nodes stored in the ways file.  This makes applying changes simpler
(segments file is not kept with the --keep option) and handling changed ways is
simpler than changed segments.


Revision 1338 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 22 17:31:03 2013 UTC (11 years, 10 months ago) by amb
File length: 38254 byte(s)
Diff to previous 1336
Store the list of nodes in the raw ways file for use by the errorlog functions.


Revision 1336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 20 18:51:45 2013 UTC (11 years, 10 months ago) by amb
File length: 38212 byte(s)
Diff to previous 1318
Store more logerror information even for items that are discarded to allow them
to be located geographically.


Revision 1318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 13 18:06:15 2013 UTC (11 years, 10 months ago) by amb
File length: 37420 byte(s)
Diff to previous 1313
Move the logerror function prototypes back into logging.h and remove the
logerror.h header file from most source files again.


Revision 1313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 11 18:14:38 2013 UTC (11 years, 10 months ago) by amb
File length: 37442 byte(s)
Diff to previous 1263
Create a binary log file that contains the node, way and relation id and a link
to the error message for easy parsing.


Revision 1263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 2 14:13:14 2013 UTC (12 years ago) by amb
File length: 36549 byte(s)
Diff to previous 1247
Recognise mini-roundabouts tagged as junction=roundabout (as well as
highway=mini_roundabout).  Pass them through the parser as roundabout=yes.
Output them from the filedumper as junction=roundabout.  Update the
documentation for mini-roundabouts.


Revision 1247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 18:50:02 2013 UTC (12 years, 1 month ago) by amb
File length: 36400 byte(s)
Diff to previous 1246
Change the "lanes=..." tag processing because it counts lanes in both
directions.  A normal road may be tagged as having two lanes (one in each
direction) but the multilane property is intended to allow prioritisation of
roads where traffic can use multiple lanes in each direction.


Revision 1246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 21 18:53:32 2013 UTC (12 years, 2 months ago) by amb
File length: 35841 byte(s)
Diff to previous 1243
Remove unnecessary word from logerror messages.


Revision 1243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 20 14:17:14 2013 UTC (12 years, 2 months ago) by amb
File length: 36075 byte(s)
Diff to previous 1236
Replace 'motorbike' with 'motorcycle' everywhere.


Revision 1236 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 9 18:18:51 2013 UTC (12 years, 2 months ago) by amb
File length: 36069 byte(s)
Diff to previous 1234
Reset the to/via/from indexes before parsing each relation.


Revision 1234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 29 11:11:11 2012 UTC (12 years, 2 months ago) by amb
File length: 35983 byte(s)
Diff to previous 1233
Re-factor parsing code to remove duplicated parts from three parsers
(osmo5mparse.c, osmpbfparse.c and osmxmlparse.c) into a common place
(osmparser.c), also removes lots of global variables.
Change the node, way and relation count to uint64_t instead of index_t to avoid
wrap-around (although it would have been a cosmetic problem only), also removes
dependency on types.h.
Make the node, way and relation counters be 'int64_t' instead of 'long long' in
the XML parsers for consistency with the non-XML parsers.


Revision 1233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 12:48:19 2012 UTC (12 years, 2 months ago) by amb
File length: 33236 byte(s)
Diff to previous 1232
Log errors for areas that are oneway.


Revision 1232 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 28 11:51:48 2012 UTC (12 years, 2 months ago) by amb
File length: 33111 byte(s)
Diff to previous 1231
Log errors for areas that are not closed.


Revision 1231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 27 14:00:23 2012 UTC (12 years, 2 months ago) by amb
File length: 32966 byte(s)
Diff to previous 1227
Don't append segments if they are duplicates within a way or have duplicated
nodes.  Log errors for middle nodes that repeat within a way (can be non-trivial
unintentional loops).


Revision 1227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 24 16:35:46 2012 UTC (12 years, 2 months ago) by amb
File length: 32497 byte(s)
Diff to previous 1226
Added parsing of O5M/O5C format (a binary format but otherwise very close to OSM/OSC).


Revision 1226 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 24 11:02:10 2012 UTC (12 years, 2 months ago) by amb
File length: 29895 byte(s)
Diff to previous 1221
The PBF format does not support change files (the 'visible' part of the info
message is only for historical data and not for changes).


Revision 1221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 21 16:08:44 2012 UTC (12 years, 3 months ago) by amb
File length: 29978 byte(s)
Diff to previous 1204
Add a parser for OSM PBF format.
Separate the XML parser from the data processing in osmparser.c.
Update planetsplitter and documentation to use new format.


Revision 1204 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Dec 15 15:15:22 2012 UTC (12 years, 3 months ago) by amb
File length: 49133 byte(s)
Diff to previous 1199
Change the xsd-to-xmlparser functions to output the source code in the same
order as the XSD file and do not attempt to sort them into reverse order of
reference.



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a