Skip to content

Commit

Permalink
Update srsbuild.py
Browse files Browse the repository at this point in the history
  • Loading branch information
situx authored Feb 12, 2025
1 parent 301b2a3 commit 22cec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/srsbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def getNSForClass(cls,prefixmap):
if pref!="geosrs_srs":
ldcontext["@context"][pref]=geocrsNS[:-1]+"/"+pref.replace("geosrs_","")+"#"
for cls in prefixtoclasses[pref]:
ldcontext["@context"][cls[cls.rfind('#')+1:]]=pref+":"+cls[cls.rfind('#')+1:]
ldcontext["@context"][cls[cls.rfind('#')+1:]]=pref.replace("geosrs_srs","geosrs")+":"+cls[cls.rfind('#')+1:]
if pref in prefixtoproperties:
for cls in prefixtoproperties[pref]:
ldcontext["@context"][cls[cls.rfind('#')+1:]]=pref.replace("geosrs_srs","geosrs")+":"+cls[cls.rfind('#')+1:]
Expand Down

0 comments on commit 22cec48

Please sign in to comment.