POST
|
I have created one query layer map by consuming featurelayerserver service URL in JavaScript API 4.10. Where I have some poly lines and I have added the graphics to display the lines in green color.And now I need to give a border in black color to that yellow line. Can anyone help me by giving the direction how to achieve that in JavaScript API 4.10 query graphics layer. My sample code is as below - queryTask.execute(querygreen).then(function(result) { //console.log(result.features.length) result.features.forEach(function(item) { var green = new Graphic({ geometry: item.geometry, attributes: item.attributes, symbol: { type: "simple-line", color: "#417505", width: 2 } }); view.graphics.add(green); }); // Zoom to the features view.goTo({ target: view.graphics }); }); Can anyone please help me ..
... View more
04-05-2019
02:27 PM
|
0
|
2
|
1697
|
POST
|
Its .gdb file only. And table data is from SQL DB. Can you please share me the Python code if you have this type scenario. One more thing is that I dont have ArcGIS server.
... View more
03-13-2019
02:56 PM
|
0
|
0
|
618
|
POST
|
Hi Douglas, created a model as below - while running am getting the below error - any guess? please !!
... View more
03-13-2019
02:54 PM
|
0
|
1
|
618
|
POST
|
@Douglas, can you please elaborate these steps..What I understood is using Model Builder of ArcGIS pro I should create a model by taking my layer as input parameter. Which layer should I take here? Feature layer or the joined layer (Feature + SQL). Once Model will be ready how I will call that to be executed automatically..
... View more
03-13-2019
01:23 PM
|
0
|
5
|
1740
|
POST
|
Hi Michael, I have around 7000 lines in my layer. It will be great help if you can give me some useful links where it shows how to do this type of task using Python so that I can follow that and build my module as new to Python too. My bad!!
... View more
03-13-2019
01:06 PM
|
0
|
1
|
1740
|
POST
|
Hi Michael, yes it should run continuously. Whenever the map is opened from web page (where it is embedded), it should look into SQL data and based on that modify the map with colour range symbology.
... View more
03-13-2019
12:44 PM
|
0
|
3
|
1740
|
POST
|
@Douglas, thanks for your suggestions. With that approach I can make it. But then my next question can you please help - If I will create a copy from the joined data layer then next time when SQL data will get refresh with new value, will those updated value come to this new output? As I need to update my layer in real time under web application in sync with SQL data.
... View more
03-13-2019
12:41 PM
|
0
|
7
|
1740
|
POST
|
Hi All.. I am very new to GIS in terms of dynamic map generation. I have only option to use ArcGIS Pro and SQL server. I have a situation like below and need a guidance urgently. Please please please help!!! I have one poly line layer with columns - ID, Name, Length & Diameter in ArcGIS Pro. I also have SQL database tables for same layer with columns - ID and Alert (value : 0 - 5). Now I have to generate a Map having alert value in it and based on alert value I need to symbolize the lines either in RED (0 - 2), Green (3 - 4), Amber = 5. After that I have to embed that map in one dot net web application. The SQL table alert values will get chnage in every one hour and based on new data available for each poly line in SQL table, my published embedded web map should reflect the same. What I have done so far: 1. Open the layer in ArcGIS. 2. Create a database connection to my SQL DB and bring the table as a standalone table in content panel of ArcGIS Pro. 3. Made a Join between feature layer and standalone table based on ID to get alert value added in layer attribute. 4. Try to share that map as web map from ArcGIS pro sharing option. This gives me an error like "In-memory join can not be published". My plan and thought was like above way I will publish the map with a;alert value in ArcGIS online and from there will open it in map viewer and then will take the embedded HTML code by clicking on share and use that HTML in web application placeholder. But now I am stuck in publishing the map as web map due to having in memory join between feature layer and SQL table. And also I am doubting that after this will I be able to get my embedded map refreshed when SQL data changes as it is already published. So, first of all I need help on how to publish the map with SQL data (here alert for lines) by overcoming in memory join. And then need a guidance if at all with this approach my published map will get refreshed in web application when there is a chnage in SQL alert value. If not then how to achieve this as that is the utmost goal. I am eagerly waiting for some help here to survive.. Thank You!!
... View more
03-13-2019
11:56 AM
|
0
|
15
|
3063
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|