This sounds like a projection issue (i.e. lon,lat interpreted as x,y in m). Possibly your data hasn't set its projection information. You could try setting netconvert option --shapefile.guess-projection Or, your proj installation is faulty (as suggest by the PROJ errors).
Am Di., 25. Jan. 2022 um 17:36 Uhr schrieb Sasan Amini <[email protected]>: > I think this is going to be a "beyond SUMO" problem and rather a GIS > issue, but just to learn from any similar experiences I ask it here. > After setting that and converting polygons to Linestrings (as expected by > NETCONVERT) I get an error about identical node IDs: > ERROR 1: PROJ: proj_identify: Cannot find proj.db > ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db > pj_obj_create: Cannot find proj.db > Warning: Edge '0' connects identical nodes, skipping. > Warning: Edge '1' connects identical nodes, skipping. > Warning: Edge '2' connects identical nodes, skipping. > Warning: Edge '3' connects identical nodes, skipping. > Warning: Edge '4' connects identical nodes, skipping. > Warning: 71 total messages of type: Edge '%' connects identical nodes, > skipping. > Error: No edges loaded. > Quitting (on error). > > On Tue, Jan 25, 2022 at 4:35 PM Jakob Erdmann <[email protected]> > wrote: > >> As the error suggests: set option --shapefile.use-defaults-on-failure >> >> Am Di., 25. Jan. 2022 um 16:33 Uhr schrieb Sasan Amini < >> [email protected]>: >> >>> Thanks for the answer Jakob. I already tried --ignore-errors but I still >>> get errors regarding number of lanes and speed: >>> ERROR 1: PROJ: proj_identify: Cannot find proj.db >>> ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db >>> Error: Required field 'nolanes' or 'speed' is missing (add fields or set >>> option --shapefile.use-defaults-on-failure). >>> Error: Available fields: material parents level note Shape_Leng >>> Shape_Area parents_2 crossing >>> Error: No nodes loaded. >>> Quitting (on error). >>> >>> On Tue, Jan 25, 2022 at 4:02 PM Jakob Erdmann <[email protected]> >>> wrote: >>> >>>> Netconvert supports shapefile input ( >>>> https://sumo.dlr.de/docs/Networks/Import/ArcView.html) >>>> If you set option --ignore-errors, it will tolerate missing fromNode >>>> and toNode ids. >>>> Nodes will be added automatically and and nodes within a configurable >>>> distance (shapefile.node-join-dist) will be merged. >>>> However, this will only build sidewalks of fixed width. >>>> There is currently no code that ties together shapefiles with custom >>>> walkingarea shapes ( >>>> https://sumo.dlr.de/docs/Networks/PlainXML.html#walking_areas) >>>> >>>> regards, >>>> Jakob >>>> >>>> Am Di., 25. Jan. 2022 um 13:10 Uhr schrieb Sasan Amini < >>>> [email protected]>: >>>> >>>>> Dear all, >>>>> I have a question regarding pedestrian modeling. I have my sidewalk >>>>> infrastructure in a very accurate shapefile and would like to build a >>>>> pedestrian/walking network out of it. IS it generally possible to do such >>>>> conversion using NETCONVERT? Obviously, I don't have nodes or numLanes >>>>> etc. >>>>> in this shapefile. >>>>> I would appreciate any suggestions. >>>>> >>>>> Best, >>>>> Sasan >>>>> >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> To unsubscribe from this list, visit >>>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>>> >>>> _______________________________________________ >>>> sumo-user mailing list >>>> [email protected] >>>> To unsubscribe from this list, visit >>>> https://www.eclipse.org/mailman/listinfo/sumo-user >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
