ここで2つのユースケースがあります:<\/P>
<\/P>
#1<\/P>
.pngファイルをArcGis Onlineにアップロードして、それをカスタムシンボルとして使いたいです。 そのファイルのURLは何ですか? ポータルでファイルにアクセスし、「download」ボタンで生成されたURLを使ってみましたが、次のようなものでした https:\/\/ago-item-storage.s3.region.amazonaws.com\/abcdefg1234567890\/my_custom_file.png?X-Amz-Security-Token=xxxxxxxxxxxxxxxxxxxx&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Credential=xxxxxxxxxxxxxxxxxx&X-Amz-Signature=xyz<\/A><\/P><\/P>それは機能しましたが、数日間だけで、その後は存在しなくなりました。 そのリンクは期限切れになると思います。<\/P><\/P>では、これらのファイルへの永久的なURLを取得する方法はありますか?<\/P><\/P>#2<\/P>似たようなユースケースですが、javascriptでpng画像を地図の上に置くために使っています。 上記と同様のリンクを使用していますが、これも数日後に期限切れになります。<\/P><\/BODY><\/HTML>
それは機能しましたが、数日間だけで、その後は存在しなくなりました。 そのリンクは期限切れになると思います。<\/P>
では、これらのファイルへの永久的なURLを取得する方法はありますか?<\/P>
#2<\/P>
似たようなユースケースですが、javascriptでpng画像を地図の上に置くために使っています。 上記と同様のリンクを使用していますが、これも数日後に期限切れになります。<\/P><\/BODY><\/HTML>
The way I've done it is add the image to ArcGIS Online, share with everyone, and then use this URL at the bottom of the item details page:
Are you able to share the image with everyone? That would solve the issue of the token expiring.
So just make it public and use the amazon link? Or is there some special arcgis/esri rest api link that I should use?
Ah! Thank you so much for that picture. I was missing that part. The URL doesn't show at all until after it is shared with everyone. You have helped me very much!!!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.