Error and warning messages

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Error and warning messages

peterseva
Hi Michael,

Osm2nds logs error and warning messages. Error messages tell you why the network couldn't be created.

Warning messages are different. There you do not have to react. However, it is strongly recommended to read every warning message. Often they tell you something about the quality of your network. Sometimes, you can adapt your configuration in order to improve your network.

Please post all messages you couldn't interpret. I will answer how to handle these messages.

Best wishes,
Eva
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
Hi Eva,

hope you had a wonderful vacation.

i attache the logfile of my last succesfull conversion. There the warning-messages can be seen.

i am wondering: Max height and speed limit are often set to <null> because the value "none" can´t be read. So does the null still stand for an unlimited height-limit or is t zero-height and it would be better to enter a very high double-value (eg. 1000) to make sure tehre is no real limitation?

Logfile_Autobahn

Thanks for your help.

Best wishes

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

peterseva
Hi Michael,

could please also post your configuration file?

Best wishes,
Eva
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
Hi Eva,

here the according Configuration-file
Parameters_Motorcar_v1.1.xml

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

peterseva
This post was updated on .
Hi Michael,

here are my explanations of your warning messages:

Way 3988006: The value of maxheight 'none' can not be converted to a double value and does not end with a known unit. Therefore maxheight is set to 'null'.


Osm2nds tries to convert the maxheight value "none" to a double value. As this does not work, osm2nds tries to identify a length unit which are definied by the following parameter:

<length_highway_units>
        <listElementFloat key="m" value="1"/>
        <listElementFloat key="metre" value="1"/>
        <listElementFloat key="metres" value="1"/>
        <listElementFloat key="ft" value="0.3048"/>
        <listElementFloat key="feet" value="0.3048"/>
</length_highway_units>

However, there isn't any unit that matches. Therefore maxheight is set to "null" which means that this road is always traversable regarding the height.

In the Network Dataset Properties (ArcCatalog > your network > Network Dataset Properties) there is the attribute "HeightRestriction". This attribute compares the MaxHeight and the current height of your vehicle. If

        MaxHeight < Height

the road is restricted. Otherwise, the road is traversable.

You can define the height of your vehicle in ArcMap:

        Solver Layer (e.g. Route) > Layer Properties > Attribute Parameters.

If you don't define a vehicle height, the HeightRestriction is not used and all roads are traverable regarding the height.


Way 33945081: The value of maxspeed 'dynamic' can not be converted to a double value and does not end with a known unit. Therefore maxspeed is set to 'null'.


Osm2nds tries to convert the maxspeed value "dynamic" to a double value. If the value isn't a number, osm2nds searches the value in the following list:

<speed_highway_variables>
        <listElementString key="variable" value="null"/>
        <listElementString key="DE:motorway" value="null"/>
        <listElementString key="DE:urban" value="50"/>
        <listElementString key="DE.urban" value="50"/>
        <listElementString key="DE:rural" value="100"/>
        <listElementString key="DE:walk" value="10"/>
        <listElementString key="walk" value="10"/>
        <listElementString key="DE:living_street" value="10"/>
        <listElementString key="unrestricted" value="null"/>
        <listElementString key="none" value="null"/>
        <listElementString key="no" value="null"/>
        <listElementString key="moderate" value="30"/>
        <listElementString key="moderat" value="30"/>
        <listElementString key="signals" value="null"/>
</speed_highway_variables>

As there isn't any list element such as

        <listElementString key="dynamic" value="50"/>

osm2nds tries to identify a speed unit which are defined by the following parameter:

<speed_highway_units>
        <listElementFloat key="km/h" value="1"/>
        <listElementFloat key="kmh" value="1"/>
        <listElementFloat key="kmph" value="1"/>
        <listElementFloat key="kph" value="1"/>
        <listElementFloat key="mph" value="1.609"/>
        <listElementFloat key="knots" value="1.852"/>
</speed_highway_units>

However, there isn't any unit that matches. Therefore maxspeed is set to "null".


Node 624824, XML parameter 'access_barrier_restrictions': Unknown default access restriction for barrier 'border_control'. The default access restriction is set to 'unknown'.


Osm2nds cannot find a list element with the key "border_control" in the following list:

<access_barrier_restrictions>
        <listElementString key="cattle_grid" value="yes"/>
        <listElementString key="sally_port" value="no"/>
        <listElementString key="toll_booth" value="yes"/>
        <listElementString key="bollard" value="no"/>
        <listElementString key="pollard" value="no"/>
        <listElementString key="cycle_barrier" value="no"/>
        ...
        <listElementString key="sign_post" value="yes"/>
        <!--hard-coded: <listElementString key="else" value="unknown"/>-->
</access_barrier_restrictions>

Therefore the default access restriction is set to the hard-coded else value which is "unknown".

I strongly recommend to add the list element "border_control" to this parameter and to recalculate the network!


Node 624824, XML parameter 'slowDown_barrier_restrictions': Unknown slowDown value for barrier 'border_control'. slowDown is set to 'yes'.


Osm2nds cannot find a list element with the key "border_control" in the following list:

<slowDown_barrier_restrictions>
        <listElementNoYes key="cattle_grid" value="no"/>
        <listElementNoYes key="sally_port" value="yes"/>
        <listElementNoYes key="toll_booth" value="yes"/>
        <listElementNoYes key="bollard" value="yes"/>
        <listElementNoYes key="pollard" value="yes"/>
        <listElementNoYes key="cycle_barrier" value="yes"/>
        ...
        <listElementNoYes key="sign_post" value="no"/>
        <!--hard-coded: <listElementNoYes key="else" value="yes"/>-->
</slowDown_barrier_restrictions>

Therefore the default access restriction is set to the hard-coded else value which is "yes".

I strongly recommend to add the list element "border_control" to this parameter and to recalculate the network!


Best wishes,
Eva
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
Hi Eva ,

thanks again for your help. Yep when i try to run for example a service area-routing i get the following error-message: Fehler: Das Netzwerk-Dataset verfügt über keine Kantenelemente. Es ist möglicherweise nicht vorhanden.

I used another example NDS and the routing worked quite properly there

The reason is probably the missing "border_control" you suggested to add. ?!

What should i do exactly to add?

just write:

<access_barrier_restrictions>
        <listElementString key="cattle_grid" value="yes"/>
        <listElementString key="sally_port" value="no"/>
        <listElementString key="toll_booth" value="yes"/>
        <listElementString key="bollard" value="no"/>
        <listElementString key="pollard" value="no"/>
        <listElementString key="cycle_barrier" value="no"/>
        <border_control>
        ...
        <listElementString key="sign_post" value="yes"/>
       
</access_barrier_restrictions>


or what value should i use there for border_control?

sorry for asking again.

Very strange i used the parameter file whcih was suggested on the homepage or does the error have another reason.

Thanks a lot again.

Best Wishes

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
oh... probably i set it

<listElementString key="border_control" value="yes"/>

to make a slow down on border controls...

excuse the confusion..


if you got another ideas to my reported error-message i would be thankful
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

peterseva
Hi Michael,

"border_control" has nothing to do with your error message.

"Das Netzwerk-Dataset verfügt über keine Kantenelemente. Es ist möglicherweise nicht vorhanden."

You only optimize your network if you add the access barrier restriction for "border_control".

Your problem is more general. Have you read the following mailing list post?

http://osm2nds.forum.52north.org/Osm2nds-Error-The-network-dataset-has-no-edge-elements-It-may-be-unbuilt-td4434842.html

I was able to calculate your network (Bremen). And I could calculate a route and a service area. My ArcGIS version is 10.2 SP 0.

Which ArcGIS version and Service Pack do you have?

Best wishes,
Eva
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
Hey Eva! Yeah that was the solution. I was able to calculate a network without errors

Thank you very much for your patient help!

But no i have another problem and i am becoming desperate.

I think the following is not a problem concerning your gread program but i would be very thankful if you might help me.

All my service-areas and routings i tryed in GIS failed with the highway NDS is calculated out of the OSM File i cut out of the Germany-latest.osm by  the tool "OSM-Filter".

Looking precisly at the roads the problem is, that often tehre are no real junctions or connections between the motorways as they should be.
Like it can be seen in the following picture: nojunction.JPG

I tryed different commands in OSM-Filter as

>osmfilter.exe germany-latest.o5m --keep=highway=motorway --keep=nodes --keep=ways --keep=relations>motorway.osm

or just

>osmfilter.exe germany-latest05m --keep=highway=motorway>motorway.osm


Both commands lead to the same result: OSM- File with motorways and missing junctions
(checked in "JOSM" and after Calculation with your tool "OSM2NDS" in ArcGis

I can´t immagine all motorways in the osm-files are there without junctions. when i look to a full OSM-File of Bremen for example in JOSM i can see there are junctions between roads and motorways


Did i forget something important? Do you have got any Tipp or solution? Is it a problem in "OSM-Filter"? Unfortunaly i dind´t manage to do the same via osmosis...

I just need a working NDS of highways or some osm File i can convert to the NDS.

Next time beeing in Karlsruhe (happens from time to time) i´ll invite you to dinner to thank you! :)

Thanks a million in advance!

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Philippe Rieffel
Hello Michael,
even though i am not to firm with osmfilter, it seems like you are only exporting the actual highways, but not the links between the highways and motorways. May i suggest looking at http://wiki.openstreetmap.org/wiki/DE:Key:highway , especially the paragraph about link roads to find out, which other tags you need to add to your export. A highway (as in german Autobahn) normaly consists of two things: the actual road (highway=motorway) and the on/off ramps/junctions (highway=motorway_link/trunk_link/ primary_link)

I always recommend getting at least a little bit familiar with the osm nomenclature when working with the data.

Cheers,
Philippe
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

peterseva
Hello Michael,
Hallo Philippe,

that's exactly what I wanted to answer. Thanks, Philippe.

Thank you for your invitation, Michael. However, I don't live in Karlsruhe anymore.

You have to make sure that you integrate all necessary streets, barriers, and turn restrictions.

If you have any further questions, feel free to ask.

Best wishes,
Eva
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
Hey Eva, hey Phillipe,

thank you. It worked and i was able to extract a osm file with connected junctions. (In JOSM it looks quite good)

But now the OSM2NDS Generator generates a new error. After app. 3 hours of calculating (at 88% nearly all is finished and the Osm-File is generated) following error occurs.

INFO: Writing empty turn feature class turns...
ERROR: AutomationException: The operation was attempted on an empty geometry. IOException: Therefore the process is canceled.

as described here : http://osm2nds.forum.52north.org/Osm2nds-Error-on-empty-geometry-td4386100.html

I don´t understand this because i was able to create a working NDS bevore (Motorways without links) and i didn´t change anything. Seems like my system is generating errors randomly.

Any suggestions for this Problem?

You see: i don´t get tired to find new problems :(

Thanks in advance.

Best wishes Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
I mean while creating the mxd-file. Not OSM of course.
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
This post was updated on .
I recalucaltet it again with removed "timestamp"

worked until the last process of creating the mxd-file and stopped then:
The operation stopped Not enough storage.. IOException: Therefore the process is canceled.

That can´t be true because there is enough on my harddisk and in my Ram, too. So very strange error-message for me again.


There is for both the error-message of missing frame elements in GIS again, because the process didn´t finish( it worked properly before and Service Pack 3 is installed).

Despite this i was able to make the NDS (the smaller one) work in GIS by cecalculating it in GIS Network-Analyst itself and it seems to be adequate for my needs.

But it would be interesting to know what´s the origin of the problem and how to solve it properly

Best Wishes

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

peterseva
Hi Michael,

it's quite difficult to understand how these errors occurred.

In order to reproduce the errors I need the following for EVERY conversion attempt:

- Batch file
- Parameters file
- OSM file
- Log file
- ArcGIS Version
- Java Version

And it would be helpful if you could provide your filter configuration of osmfilter.

Best wishes,
Eva

Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

Michael Tausch
Hi Eva,

in the meantime i was able to identify the problem. It occures in the osm-convert conversion process. I am quite fine with the data i have until now and it works properly.

Thx again for all your help!

Best wishes

Michael
Reply | Threaded
Open this post in threaded view
|

Re: Error and warning messages

peterseva
Hi Michael,

I'm pleased to hear that.

Best wishes,
Eva