POST
|
Thank you for your input. It looks like I won't be able to solve this as I only have access to the online routing service. Perhaps I will play around with Polygon Barriers around each dump site to make the illusion of cost appear.
... View more
a month ago
|
0
|
0
|
132
|
POST
|
Thanks for your input. I'm trying to make service area polygons for all of the dump sites. The polygons should fill up the entire metro area with no overlaps. The size of each polygon will depend on the Dump fee and the price per mile. Here is the example - Dump Site X costs $75 to use and Dump Site Y costs $200. The Starting Point B is 10 Miles from Dump Site X and 2 Miles from Dump Site Y. If the Travel Cost were $5 Per Mile: The cost to go to Dump Site X would be $75 + ($5 *10) = $125 (Cheapest) The cost to go to Dump Site Y would be $200 + ($5 * 2) = $210 I would expect Starting Point B to fall in the Polygon for Dump Site X However, if the Travel cost was $20 per mile: The cost to go to Dump Site X would be $75 + ($20 * 10) = $275 The cost to go to Dump Site Y would be $200 + ($20 * 2) = $240 (Cheapest) I would Expect Starting Point B to fall within the Polygon for Dump Site Y Any Ideas how to create these dumpsite polygons weighted by site cost and travel cost? Here is a very rough idea of how the dumpsite polygon borders change if the price per mile changes. Thank you!
... View more
a month ago
|
0
|
0
|
147
|
POST
|
I'm not sure what the best tool is to solve this issue. We have many dump sites around the metro area with different dump prices. How would I make polygons around the sites that indicate the cheapest location to go to? Here are two example starting points that would need to fall within a sites polygon. Lets say it costs the driver $25 per mile to drive around. If the driver is equally far away from two sites (Starting Point A), the 75$ site would be a better choice. Starting Point A should fall within the $75 sites service area polygon. Starting point B should fall within the $200 drive time due to the short travel cost. It seems like the Service Area tool is the correct options but I'm not sure how to configure it and populate the facility attributes. I am using the ArcGIS Online service for network data source. Thanks for any advice.
... View more
09-19-2024
08:12 AM
|
0
|
5
|
233
|
POST
|
The title seems to be title to the Item name and not the layer name. I ended up using a going a different route for overwritting my layers. To_featurelayer() is missing too much documentation (such as the fact that a new shapefile is made from the dataframe and that is what is published). Thanks for the help.
... View more
07-08-2024
10:09 AM
|
0
|
0
|
239
|
POST
|
I am looking at the documentation for "to_featurelayer()" at https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=to_featurelayer#arcgis.features.GeoAccessor.to_featurelayer However, I can't figure out how to name the feature layer. # Overwrite layer 0
service1 = {'featureServiceId':'**unspecified**', 'layer':0}
pub_sdf1 = sdf1.spatial.to_featurelayer(title='Testing_data',gis=gis, tags=['VM'], sanitize_columns=True,overwrite=True, service=service1)
# Overwrite layer 1
service2 = {'featureServiceId':'**unspecified**', 'layer':1}
pub_sdf2 = sdf2.spatial.to_featurelayer(title='Testing_data',gis=gis, tags=['VM'], sanitize_columns=True,overwrite=True, service=service2) This code succeeds in overwriting the feature layers from spatial dataframe. However, both feature layers are called the same thing now. Thank you.
... View more
06-20-2024
06:29 AM
|
0
|
2
|
372
|
POST
|
Thank you for this sample @Den-GIS. I had a similar app need that would pull locator data based on the users address search. The features are created client side and displayed via popup. After seeing your sample, I might switch from a popup to a featureformviewmodel to allow for additional user input. Here is the code pen if it helps anyone. https://codepen.io/Treemapper/pen/abMgLNW
... View more
02-23-2024
12:51 PM
|
0
|
0
|
815
|
POST
|
The AGOL map viewer allows you to right click, see a context menu with "What's Here", reverse geocode the location, and display results in the popup. How do you mimic this with the javascript api 4.28? I believe the event click and the reverse-geocode docs should get most of the way. I'm not sure about the context menu. The closest thing for 4.x I could find is the ButtonMenuViewModel. There are no samples available for usage. There is also a sample from 3.x that does similar functionality. https://developers.arcgis.com/javascript/3/jssamples/graphics_contextmenu.html Thank you!
... View more
02-22-2024
10:57 AM
|
0
|
1
|
501
|
POST
|
Thanks, that got me on the right path and my misunderstanding of the popupTemplate.
... View more
02-22-2024
10:15 AM
|
0
|
0
|
570
|
POST
|
In my app: The user searches for an address A graphic is created for the search result External API request data is added to graphic attributes The graphic is added to a client side feature layer The popup can be opened by clicking the new feature. However, I'm trying to programmatically update/replace the existing popup with the popup for the new feature (Around line 283-316). I can't figure out the correct code to show the popup. I've tried the advice from https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryFeatures and https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#querying but I don't think I'm making the correct function. Any advice? Thank you.
... View more
02-21-2024
06:38 AM
|
0
|
2
|
676
|
POST
|
I've been tasked with finding a way to call a web api to pull a json response. The use would enter an address and an https post request would be made. The results would be displayed and inserted into a feature layer. Does anyone know of an example widget that makes this type of request? Thank you.
... View more
01-24-2024
08:58 AM
|
0
|
4
|
892
|
POST
|
Thanks for these suggestions. They may be good workarounds until tables get better functionality in the map viewer.
... View more
11-28-2023
09:16 AM
|
0
|
0
|
320
|
POST
|
When I open the table for a table layer I can't tell which parent feature belongs to each record How can I select this record highlighted above? How can I see it's parent record or even the attached photos? I have configured the popup for this table layer to show the related parent feature. However, I can't figure out how to show the popup for table records within map viewer. Can you see the popup for table records? Above it the Example popup seen while creating the popup. This shows that a popup would allow for viewing the parent record. Thanks!
... View more
11-27-2023
11:39 AM
|
0
|
2
|
411
|
POST
|
Worked like a charm. Of course adding dozens of fields individually takes a bit of time. Thanks!
... View more
11-08-2023
11:42 AM
|
0
|
0
|
7058
|
POST
|
Is there a way to add packages to an online notebook? Specifically, I want to import from the Office 365 REST package on github. This way I can schedule updating a hosted layer from Sharepoint data. Thanks!
... View more
10-30-2023
12:51 PM
|
0
|
2
|
574
|
Title | Kudos | Posted |
---|---|---|
1 | 09-22-2022 01:52 PM | |
1 | 06-22-2022 12:38 PM | |
12 | 06-09-2022 11:53 AM | |
1 | 10-16-2015 11:30 PM | |
1 | 05-05-2016 11:49 AM |
Online Status |
Online
|
Date Last Visited |
Monday
|