No way to use SPeAD-GIS in other projections-SR?

95 views
Skip to first unread message

Maria Danese

unread,
Feb 17, 2021, 3:51:13 AM2/17/21
to Sound Mapping Tools Users Group

Good morning,
first of all compliments for your toolbox.

I am trying to use it for an archaeological application, however I understood it works only with NAD83 projection and my data are in Italy, so I can't use NAD83.
There is any way to change this and to perform my analysis?

Thank you very much

Douglas Long

unread,
Feb 17, 2021, 12:04:30 PM2/17/21
to Maria Danese, Sound Mapping Tools Users Group
You can use other coordinate systems, what error do you get when you use the desired coordinate system?

--
You received this message because you are subscribed to the Google Groups "Sound Mapping Tools Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to soundmappingto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/soundmappingtools/1ebed3ff-37b3-4fae-9570-7db36478c205n%40googlegroups.com.


--

Maria Danese

unread,
Feb 17, 2021, 4:25:29 PM2/17/21
to Douglas Long, Sound Mapping Tools Users Group
This is the error:

C:\ArcGIS\smt\toolbox_V4_4_2\toolbox\scripts\C_spreadgis.py", line 170, in <module>
    landcover_type = "nlcd", use_old_barrier = 0)
  File "C:\ArcGIS\smt\toolbox_V4_4_2\toolbox\scripts\soundprophlpr.py", line 96, in SoundPropagation
    check_projections([point_source_file, elevation, landcover])
  File "C:\ArcGIS\smt\toolbox_V4_4_2\toolbox\scripts\soundprophlpr.py", line 3122, in check_projections
    latitude_of_origin.append(SR.latitudeoforigin)
AttributeError: SpatialReference: Get attribute latitudeoforigin does not exist

Thank you 

Maria Danese

unread,
Feb 23, 2021, 10:10:30 AM2/23/21
to Sound Mapping Tools Users Group
ok, I solved the problem, it was caused by the ArcGIS version.
But now, the tool points out new errors:

Traceback (most recent call last):
  File "C:\smt\toolbox\scripts\C_spreadgis.py", line 170, in <module>

    landcover_type = "nlcd", use_old_barrier = 0)
  File "C:\smt\toolbox\scripts\soundprophlpr.py", line 224, in SoundPropagation
    point_fill, freq_fill, my_times, my_time_labels, point_counter, keep_intermediates, use_old_barrier)
  File "C:\smt\toolbox\scripts\spreadgishlpr.py", line 71, in spreadgis
    BPD, max_veg_loss = calculate_barrier_path_distance_and_vegmax(Sound_Source, dem_ft, landcover, eucdist_ft, source_offset, receiver_offset, idir)
  File "C:\smt\toolbox\scripts\spreadgishlpr.py", line 955, in calculate_barrier_path_distance_and_vegmax
    source_cell_elevation = numpy_dem[source_row, source_col]
IndexError: index -1120 is out of bounds for axis 0 with size 526

I already used an extent minor than the DEM and the landcover. Any ideas of what I'm doing wrong?
Thank you
Maria

Douglas Long

unread,
Feb 23, 2021, 10:16:31 AM2/23/21
to Maria Danese, Sound Mapping Tools Users Group

Douglas Long

unread,
Feb 23, 2021, 10:17:08 AM2/23/21
to Maria Danese, Sound Mapping Tools Users Group
image.png
--

Maria Danese

unread,
Feb 24, 2021, 9:27:29 AM2/24/21
to Douglas Long, Sound Mapping Tools Users Group
I should be fine, isn't it?

immagine.png


--
Maria Danese

Douglas Long

unread,
Feb 24, 2021, 9:44:08 AM2/24/21
to Maria Danese, Sound Mapping Tools Users Group
DEM looks fine, what about the land use? 
--

Maria Danese

unread,
Feb 24, 2021, 9:51:16 AM2/24/21
to Douglas Long, Sound Mapping Tools Users Group
Thank you for your support

immagine.png

--
Maria Danese
Reply all
Reply to author
Forward
0 new messages