You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comment from Robots::DorRepo::GisDelivery::LoadVector#perform_work used to say (I replaced that comment with a link to this issue):
# encoding = # XXX: these are hardcoded encodings for certain druids -- these should be read from the metadata somewhere# case druid# when 'bt348dh6363', 'cc936tf6277'# 'LATIN1'# else# 'UTF-8'# end
Instead of figuring out the encoding based on metadata for the object per the above suggestion, the following fall-through approach is used (as of march 2024), assuming that an error in the shp2pgsql call is a result of using the wrong encoding:
Is this something that we should refine, per the old comment's suggestion? Do we ever fall through to use the LATIN1 encoding anymore? This question was introduced in a commit from late 2014, so it may well be irrelevant now. See 6eff636
A comment from
Robots::DorRepo::GisDelivery::LoadVector#perform_work
used to say (I replaced that comment with a link to this issue):Instead of figuring out the encoding based on metadata for the object per the above suggestion, the following fall-through approach is used (as of march 2024), assuming that an error in the
shp2pgsql
call is a result of using the wrong encoding:gis-robot-suite/lib/robots/dor_repo/gis_delivery/load_vector.rb
Lines 32 to 40 in d458c16
Is this something that we should refine, per the old comment's suggestion? Do we ever fall through to use the
LATIN1
encoding anymore? This question was introduced in a commit from late 2014, so it may well be irrelevant now. See 6eff636bumped into this working on #851
The text was updated successfully, but these errors were encountered: