Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Custom Projection in NETCONVERT

A solution may be to specify the projection with a proj-string instead of an epsg code.
https://epsg.io/25832   -> "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"

Important: the proj strings you can find often include "+type=crs" but this is currently not supported by netconvert. It should work if you remove this component.
See https://github.com/eclipse/sumo/issues/12288

For the windows error message, please check whether the proj db is present in %SUMO_HOME%/share/proj (also see https://github.com/eclipse/sumo/issues/8497)
For the linux error message, a possible cause may be a mismatch in proj version and found database version (https://pyproj4.github.io/pyproj/stable/gotchas.html#internal-proj-error-sqlite-error-on-select)

regards,
Jakob


Am Di., 13. Dez. 2022 um 09:50 Uhr schrieb Sasan Amini <aminissn@xxxxxxxxx>:
Dear all,
I want to convert my SUMO network into another projection system
(EPSG:25832) and I set --proj EPSG:25832 in my netconvert
configuration. However, I keep getting the following error which I
think is caused by not finding proj.4  and its data package, even
though I think I have installed it:
proj_create: Cannot find proj.db
proj_create: no database context specified
Error: Could not build projection!
Quitting (on error).

I tried it on my Linux computer where I think Proj is properly
installed and there I get still an error message saying:

proj_create: SQLite error on SELECT name, coordinate_system_auth_name,
coordinate_system_code, geodetic_crs_auth_name, geodetic_crs_code,
conversion_auth_name, conversion_code, area_of_use_auth_name,
area_of_use_code, text_definition, deprecated FROM projected_crs WHERE
auth_name = ? AND code = ?: no such column: area_of_use_auth_name
Error: Could not build projection!
Quitting (on error).
I would appreciate any tips to make this work.

Thanks,
Sasan
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top