皆さん、こんにちは。現在、地表地質に関する情報をArcGIS Onlineで公開し、一般の人々と共有するための地質図作成プロジェクトに取り組んでいます。MXDプロジェクトを作成し、ホストフィーチャレイヤーとして公開しました。残念ながら、ArcGIS Desktopで使用していたカスタムマーカーシンボルがすべて置き換えられてしまい、ArcGIS Online内で、廃止されたシンボルの代わりに使えるカスタムラインシンボルを見つけられません。
よろしくお願いします!
Hi Tahir,
However, we do support using an online image to be the symbol of the feature.
You can find how to do it here: Change Style reference—ArcGIS Online Help | ArcGIS
...and if you want to use your own symbol, click Use an image, enter the URL of the image, and click the add button . For best results, use a square image (PNG, GIF, or JPEG) no greater than 120 pixels wide by 120 pixels high. Other sizes will be adjusted to fit....
Hope this is helpful.
Tahir,
I believe this is what happens when publishing layers to the cloud. I think the only way to keep your custom symbology is to publish to an enterprise solution like ArcGIS Server. At least, that is what I have personally experienced.
This site shows what is supposed in ArcGIS Server Map Services
Supported functionality in map services—Documentation | ArcGIS Enterprise
Layer symbologyThe following layer symbology options are available:ChartsDot densityGraduated colorsGraduated symbolsProportional symbolsRepresentations (recommended for cached maps only)Single symbolUnique values
The following layer symbology options are available:
Hi Adrian,
Indeed, I had serious doubts that custom symbols were not supported in ArcGIS Online. However, our service does not have an ArcGIS Server license. We had an Organization account. We will have to think about a way to represent certain types of geological information to be faithful to the original raster map ...Thank you for this clarification.
TRegards!Regards!
Hi Xiaolong,
If i want to change the selected image automatically according to a field in the feature, how would i do that?
Regards,
Tony
Hi Tony,
This may be possible using Arcade expressions:
Change style—ArcGIS Online Help | ArcGIS
-Kelly
Thanks Kelly, that worked nicely. I inserted this snippet as a test. Found the Custom (Expression) menu option hidden at the bottom of the Choose attribute to show list. The next step is to find or create some high quality tropical cyclone symbols with background transparency.
Function showImg(value){ if (value == '1'){ return 'TC1a.png' } if (value == '0'){ return 'TC1b.png' }}showImg($feature.category)
A further question about this:
I want to use an image as a symbol, and all the URLs to the images are stored in a field of the attribute table. Is there a way to automate this process?
Thank you!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.