Dear Mirko,
Thanks for the guidance and support.
Unfortunately, I still could not reach the detectors additional file because of the below error.
Your guidance will be highly appreciated.
Traceback (most recent call last):
File "C:\Program Files (x86)\Eclipse\Sumo\tools\sumolib\net\__init__.py", line 451, in getGeoProj
self._proj = pyproj.Proj(projparams=self._location["projParameter"])
File "C:\Program Files\Python39\lib\site-packages\pyproj\proj.py", line 134, in __init__
super().__init__(TransformerFromPipeline(cstrencode(self.srs)))
File "C:\Program Files\Python39\lib\site-packages\pyproj\transformer.py", line 337, in __init__
self._local.transformer = transformer_maker()
File "C:\Program Files\Python39\lib\site-packages\pyproj\transformer.py", line 134, in __call__
return _Transformer.from_pipeline(self.proj_pipeline)
File "pyproj\\_transformer.pyx", line 632, in pyproj._transformer._Transformer.from_pipeline
pyproj.exceptions.ProjError: Invalid projection +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +nadgrids=OSTN15_NTv2_OSGBtoETRS.gsb +units=m +no_defs.: (Internal Proj Error: proj_create: Error 1029 (File not found or invalid): hgridshift: could not find required grid(s).)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\Eclipse\sumo-git\tools\detector\mapDetectors.py", line 110, in <module>
main()
File "C:\Program Files (x86)\Eclipse\sumo-git\tools\detector\mapDetectors.py", line 88, in main
x, y = net.convertLonLat2XY(lon, lat)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\sumolib\net\__init__.py", line 468, in convertLonLat2XY
x, y = self.getGeoProj()(lon, lat)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\sumolib\net\__init__.py", line 455, in getGeoProj
self._proj = pyproj.Proj(projparams=self._location["projParameter"])
File "C:\Program Files\Python39\lib\site-packages\pyproj\proj.py", line 134, in __init__
super().__init__(TransformerFromPipeline(cstrencode(self.srs)))
File "C:\Program Files\Python39\lib\site-packages\pyproj\transformer.py", line 337, in __init__
self._local.transformer = transformer_maker()
File "C:\Program Files\Python39\lib\site-packages\pyproj\transformer.py", line 134, in __call__
return _Transformer.from_pipeline(self.proj_pipeline)
File "pyproj\\_transformer.pyx", line 632, in pyproj._transformer._Transformer.from_pipeline
pyproj.exceptions.ProjError: Invalid projection +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +nadgrids=OSTN15_NTv2_OSGBtoETRS.gsb +units=m +no_defs.: (Internal Proj Error: proj_create: Error 1029 (File not found or invalid): hgridshift: could not find required grid(s).)
Regards,
Fereshteh