one follow-up on this question: when I pass the --proj "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs", the generated network has the projParameter but I still see the warning message: pj_obj_create: Cannot find proj.db does this have something to do with the fact that I use sumo-with-extra.zip? instead of installing sumo using the msi installer?
On Wed, Dec 14, 2022 at 1:35 PM Sasan Amini <amini...@gmail.com> wrote: > > Thanks! it works exactly as you suggested. > I don't how, but now it works on Windows, after a few restarts and a > windows update. On Linux, I still haven't checked your suggestion... > > Best, > Sasan > > On Tue, Dec 13, 2022 at 1:33 PM Jakob Erdmann <namdre.s...@gmail.com> wrote: > > > > 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 <amini...@gmail.com>: > >> > >> 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@eclipse.org > >> To unsubscribe from this list, visit > >> https://www.eclipse.org/mailman/listinfo/sumo-user > > > > _______________________________________________ > > sumo-user mailing list > > sumo-user@eclipse.org > > To unsubscribe from this list, visit > > https://www.eclipse.org/mailman/listinfo/sumo-user _______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user