grundid / relation-analyzer Goto Github PK
View Code? Open in Web Editor NEWRelation Analyzer for OSM
Home Page: http://ra.osmsurround.org
License: Other
Relation Analyzer for OSM
Home Page: http://ra.osmsurround.org
License: Other
Shows the distribution of way types in this relations. Hover over a color for more details.
red = major roads, blue = rural roads, brown = tracks, green = footways and cycleways, gray = unknown
Shows the distribution of way surfaces in this relations. Hover over a color for more details.
solid = paved, dashed = unpaved, blue = no surface tag on way
I propose to:
Several (or all?) relations end up in error, if the relation should be displayed as map. Example:
http://ra.osmsurround.org/analyzeMap?relationId=3811891
In Firefox 61, there is no map shown, in Microsoft Internet Explorer and Edge a map is shown and a 'parsererror' is displayed.
The diagram of the altitude is not shown in Firefox, whereas it is displayed in Edge.
When trying to load this relation:
https://www.openstreetmap.org/relation/7156290
using http://ra.osmsurround.org, I get:
504 Gateway Time-out
nginx/1.10.3
site is down http://ra.osmsurround.org/
See http://ra.osmsurround.org/analyzeRelation?relationId=1956134&_noCache=on
The relation is split in several pieces, but is reported as whole, and the elevation profile is severely broken.
See http://ra.osmsurround.org/analyzeRelation?relationId=1629171&_noCache=on#
The relation is 13.5 km, but the elevation profile shown is just for the first way.
the search query looks like this
searchRelation?name=DN&relationType=&route=&ref=&network=&operator=
Internal error
Message:
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
Home
Hi some one knows why the path is incomplete from osmsurround ?
http://ra.osmsurround.org/analyzeMap?relationId=2554093
https://www.openstreetmap.org/relation/2554093
http://ra.osmsurround.org/exportRelation/json?relationId=2554093 :
500
org.osmtools.ra.AnalyzerException: No way to go. All nodes visited before.
Thanks.
Hi,
apparently the relation analyzer regards ways with role=platform as separate ways and shows an error that the relation doesn't consist of one single graph.
Example: http://ra.osmsurround.org/analyzeRelation?relationId=905890
I'm quering this page for public transport relations in our contries and after while the page return (only sometimes) following internal error:
Internal error
Message:
org.springframework.web.client.HttpServerErrorException: 509 Bandwidth Limit Exceeded
Home
We are supposed to enter:
Relation ID : 14126302 Analyze
but how about
Relation ID/URL: https://www.openstreetmap.org/relation/14126302 Analyze
(I even removed the space behind the colon too.)
Hi,
please could you add a permalink to your nice "analyse on map" map view?
Example, for this map:
http://ra.osmsurround.org/analyzeMap?relationId=444444
With permalink it's easier to share zoom in map areas.
Thank you
It it possible to do something like this, via a CSV file or a batch file ?
When analyzing railway route 32243,
ra shows an error "org.osmsurround.ra.AnalyzerException: Unknown member role [platform]"
According to the wiki this role should be used to add platforms to the corresponding stops. I would expect the relation analyzer to totally ignore ways with role=platform. Or could you replace the exception with an appropriate warning, that the role is not recognized and thus ignored?
I like RA but I'm missing an option to send analysis from console.
I want to schedule analysis for discover quickly if relation breaks and I need API for its.
thanks
Relation 2192290 consists of one way and two nodes. The end of the way connects with the way itself and where they connect seems to be as far as the way is drawn on the map in RA, and thus the drawing is clipped.
The relation analyzer allows searching by network
value, but for cycling routes, cycle_network
is much more specific and would lead to better results.
Unable to reach http://ra.osmsurround.org/
When I try to load the output from http://ra.osmsurround.org/exportRelation/json?relationId=3045928 into https://mapshaper.org/ it complains: Error importing relation_3045928.json Unknown JSON format
.
Hi
In the hope this project is still being maintained....
When using the +/- or mouse wheel to zoom, the map 'skips' to the side & then back again. Kind of annoying.
Occurs in latest Firefox & Chrome.
Unable to locate the Javac Compiler in:
/usr/lib/jvm/java-7-openjdk-amd64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 10 seconds
[INFO] Finished at: Wed Jul 15 21:02:09 EEST 2015
[INFO] Final Memory: 16M/239M
[INFO] ------------------------------------------------------------------------
analyzeRelation responds with an HTML, but if you want to automate this process it would be easier if the app responds also in JSON.
I already cloned the project and implemented this feature. Do you accept pull requests?
Looking for some relations does not give a result. Example: Searching for RelationName=Via Alpina Red R48 gives no result, but searching for RelationID=8535120 gives the correct relation.
There are lot of other relations as well: Bus routes, hiking and so on.
curl -s "http://ra.osmsurround.org/analyzeRelation?relationId=1083417&_noCache=on" | grep "Graph " | wc -l
tells me if the Oise river is correct (result=1) or (as now) split into chunks (result>1).
Great to be able to do that ;-).
Having a JSON output would make life easier.
http://ra.osmsurround.org/analyzeRelation?relationId=1083417&_noCache=on&output=json
(or filtering :
http://ra.osmsurround.org/analyzeRelation?relationId=1083417&_noCache=on&output=text&filter=graph_count
) => 2
Cannot access it for quite some time already.
Would like to see support for route_master
relations like this; http://www.openstreetmap.org/browse/relation/4605600
The one in the example should consist of 3-4 relations forming parts of the same extremely long highway, the Brazilian BR-101 which spans from Recife in north of Brazil to Rio Grande in the south of Brazil.
Supporting this correctly would enable us to see if the master relation is correctly built, and check the integrity of each of the member relations.
I just tried to open the relation http://ra.osmsurround.org/analyzeRelation?relationId=27727
It gave an internal error with the following texts (changed on reload)
java.lang.NumberFormatException: For input string: "t"
java.lang.NumberFormatException: For input string: "v48925583"
java.lang.NumberFormatException: For input string: "v69978049"
java.lang.NumberFormatException: For input string: "t3"
ra already offers statistics of highway. lately surface and smoothness becomes more important. i think ra could be an assistant to improve the qualitity of this tags.
surface and smoothness are one dimension sized, so you need no "hierarchy".
PS: StatisticsService.StatisticsService() looks a bittle strange, cause you call createHierarchy() without using its return? And in createHierarchy() there's a copy&paste issue: you add unknown highway * as subhierarchy to humans?
HighwayHierarchy unknown = new HighwayHierarchy("unknown");
humans.addSubHierarchy(new HighwayHierarchy("unknown", "highway", "*"));
hierarchy.addSubHierarchy(unknown);
Hi there,
I've checked a bus route relation : 2525489 I've updated myself in OSM.
RA says the relations is "Split into several pieces", but I can't find any hole in the bus route.
I think this is due to the fact that one of the platforms is a closed way. Maybe the RA algorithm needs an improvement on this one. Or maybe I've missed something somewhere.
Note: relation 2411701 which starts exactly from this platform gets the same error message.
Rgds,
Thibault
SRTM is limited to area between 60 deg. north and 58 deg. south. What about:
For this relation (r363948)
http://ra.osmsurround.org/analyzeMap?relationId=363948
the analyzer shows a gab / marker at this node:
https://www.openstreetmap.org/edit?node=3334279845#map=18/54.40937/13.43830
But it seems there is no relation gap.
Is this a false positive or a bug?
btw: thanks for the great tool :-)
Please provide some examples at http://ra.osmsurround.org/ for:
That will each return a result that properly showcases this OSM Relation Analyzer
The Relation Analyzer seems to have problems with relations of type “route” that have associated objects like platforms and other things.
For example, look at relation 5504331: → link to Relation Analyzer, → link to the OSM relation
As far as I can see, this relation is correct. Beside the actual route (consisting of ways with empty role) it contains additional data, like several stops and platforms. These have appropriate roles like “stop”, “platform_entry_only” and “platform_exit_only”. The latter seem to cause problems with Relation Analyzer.
The solution is to consider only relation members that are actual part of the route, i.e. with empty role. All other members (with non-empty role) should be ignored by the Relation Analyzer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.