Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Segmentation fault in netconvert with --heightmap.shapefiles

Thanks for the explanation. As it seems not to be an appropiate shapefile for the region I want to study, I have changed the approach of the problem and I'm trying with TIFF files and now it seems to work, at least the fcd and emission output files have a z-coordinate.
Thanks a lot!

El mar, 2 mar 2021 a las 18:52, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
The current heighmapper code expects a triangulated mesh of x,y,z coordinates when loading shape files. It cannot deal with elevation lines. Moreover, as far as i can tell, your dataset only includes the elevation lines without any actual z data so I don't think it's even possible to extract the needed information.

Am Di., 2. März 2021 um 12:20 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
I've sent another reply to you with the attached files which is pendant of approval by the moderators. In the meanwhile, I've compiled SUMO with PROJ-6.1.1 and the same segmentation fault error emerge despite fixing the libproj.so warnings.

El mar, 2 mar 2021 a las 10:26, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
Yes, that warning could indicate the cause of the crash. If in doubt, provide input files so we can test your input with a clean built of netconvert.

Am Mo., 1. März 2021 um 16:34 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Hello,

I'm having troubles to load shapefiles topography in order to assign elevations to my network. I've installed SUMO with all the requisites to load shapefiles (i.e. with GDAL dependencies). Now, I don't get a dependencies error but a simple "Segmentation fault", as shown in this example:

netconvert --osm-files Madrid.osm --output-file sumonetwork.net.xml --osm.stop-output.length 20 --ptstop-output ptstops.xml --ptline-output ptlines.xml --geometry.remove --roundabouts.guess --ramps.guess --junctions.join --tls.guess-signals --tls.discard-simple --tls.join  --heightmap.shapefiles /mnt/lustre/home/u7262/sumo_scripts/spacmaltimetria20m2000/SIGI_MA_ALTIMETRIA_20Line.shp

Segmentation fault

Without the --heightmap.shapefiles option, it works properly. Furthermore, I've noticed this warning while building SUMO. It could be related to my problem?

libproj.so.15, needed by /mnt/lustre/home/u7262/gdal-V1.10.0/lib/libgdal.so, may conflict with libproj.so.13

Thank you.

Best regards,
Alejandro
--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx

Back to the top