|
POST
|
Hi Sergio Pizarro, The 3rd argument to the arcpy.MakeFeatureLayer_management() method is a where clause in SQL syntax. In your sample code you have: query = [County] = fc This line of code is not a valid SQL syntax, nor is it valid Python syntax. In this case, the query variable must be a string, so you should put single quotes around the clause. Here is a doc which goes into SQL syntax for where clauses in more detail: https://pro.arcgis.com/en/pro-app/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm Go ahead and try that. In the meantime I'm going to move your post to the Python community space for you to hopefully get more help on this if needed: https://community.esri.com/community/developers/gis-developers/python/content
... View more
04-17-2020
05:26 PM
|
0
|
0
|
794
|
|
POST
|
The best way to do this is to start with a database that has been registered with ArcGIS Enterprise. At that point, you can publish your layer, in a map service, and configure it so that it can be edited thru a web application. Your user can sketch the polygon, enter the attributes, and have that edit push through the REST endpoint all the way back into the enterprise geodatabase. Here is a tutorial that provides one example: https://enterprise.arcgis.com/en/server/10.6/get-started/windows/tutorial-perform-web-editing-using-data-from-a-geodatabase.htm If your database is not registered as an enterprise geodatabase, you're a bit more on your own, but the JS API's Polygon class has a "toJSON()" method that creates a JSON string which is a JSON representation of the Polygon feature (list of rings, each ring a list of vertices). https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html#toJSON As for the Sketch widget, it has an .on() method, and when called with the "create" event as the first argument, returns an event object. Inside the code block for the .on() method, you can get the geometry out of the event like this: mypolygon = event.graphic.geometry https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#on That's something you can try. In the meantime, I'm going to transfer this post over to the GeoNet forum for the JavaScript API so that others might weigh in.
... View more
04-17-2020
02:24 PM
|
2
|
0
|
1716
|
|
DOC
|
Hiya Ken Buja! I hope you are doing well! It was so nice to see you at Fed! Our team is currently working to update the page, and it should have the link to the rest of the DevSummit tech session videos soon! Here is the link to the YouTube playlist where they are currently being uploaded daily over the next two weeks. If you should have any questions, please do not hesitate to contact me. Thanks again for being so helpful, and I look forward to seeing you again soon!
... View more
04-15-2020
04:08 PM
|
1
|
0
|
4538
|
|
POST
|
If you are creating a web application using the ArcGIS API for JavaScript, and you try to load a layer that has its sharing level set to "Owner", then yes, when you load that page, the API will try to load that layer; it will find that the sharing level is Owner and will open a login popup for you to login with. As long as the username and password are the same account that the layer is owned by, the layer will load after correct login. We understand that you tried this, and it still failed to load. This would require just a little bit more troubleshooting. It's possible that the login popup you're getting is for some other resource in your app that is not shared with your account that you logged in with. If you comment out the loading of that layer, and you are still getting that login popup, that would help narrow it down. The idea here is to keep testing until you find the layer that is failing to load, then you can adjust (or request to adjust) the sharing level of that resource. We would recommend you comment out all ArcGIS Online resources, then commenting them back in one at a time, or in groups, in order to find those resources that are opening the login modal and why. In most cases, that should solve the problem. We see that you're also asking a question about how to make a private, un-shared layer visible inside your application without requiring user login. There are a few techniques for keeping resources private, and still exposing them to selected applications. One way is to use a proxy. See this document for more information. Go to this page and scroll down to the section called "Application logins". https://developers.arcgis.com/javascript/latest/guide/secure-resources/Using a proxy is a secure and supported way to accomplish this. It is not recommended to pass your login name and password credentials to the app/page as URL parameters in the clear. If you have difficulties or questions in setting this up, please contact Technical Support. Also, we have a GeoNet community forum specifically for the ArcGIS API for JavaScript. The global community of folks using that API use that forum for Q&A. You will find the best answers and quickest replies there. https://community.esri.com/community/developers/web-developers/arcgis-api-for-javascript/content
... View more
04-08-2020
12:23 PM
|
0
|
1
|
1300
|
|
POST
|
Hello all - as of right now, there are no plans for any other livestreaming than the Plenary. Should that change, we will definitely let you all know. Thank you for sending along your questions. We will address them as we can.
... View more
03-04-2020
11:39 AM
|
3
|
0
|
4302
|
|
POST
|
For functions that are internal to the SOE and not exposed as operations, you would write a new operation in your SOE REST API called "test". This test operation would go through and test all the internal functions that you want to ensure are working and then return a JSON object that indicates whether the implementation tests passed or not. If there are configurable parameters (database or file server names for instance), you would pass those as inputs into the test operation. If you have a server that stores test results, you could directly write to that as well from within the SOE. If you have an enormous number of functions, then you might create an operation for each test suite.
... View more
11-19-2019
04:19 PM
|
0
|
0
|
678
|
|
POST
|
There are no plans at this time. However we do make available PerfTools for assessing performance of ArcGIS Pro:https://www.esri.com/arcgis-blog/products/arcgis-pro/announcements/perftools-build-100-for-arcgis-pro-2-x-is-now-available-for-download/
... View more
11-15-2019
10:42 AM
|
1
|
0
|
899
|
|
POST
|
Extending dashboards with custom widgets/elements is not on our current road map. However, many users have gotten mileage out of the Embedded Content element when they need to include functionality or visualizations not offered by Operations Dashboard.
... View more
11-15-2019
08:58 AM
|
1
|
0
|
712
|
|
POST
|
Yes, this is possible. Here is a response to this very question on GeoNet: https://community.esri.com/thread/206921-integrate-workforce-with-customized-survey-app There are two ways to do this: Give your custom Survey123 app the URL scheme of “arcgis-survey” to mimic the Esri version of Survey123. Kind of a hack, could cause problems if you have the Esri published version of Survey123 also installed. Edit the JSON of the Workforce project to add the URL scheme of your custom version of Survey123. I would recommend this. It requires using the https://ago-assistant.esri.com/ tool to edit the JSON. The second method (have a custom URL scheme for your application, and then modify the Workforce project) is probably the most sustainable, as it doesn’t risk any interference if production Survey123 is installed. Also, please review the ‘Inter-App Communication with ArcGIS Apps’ demo theater from the Developer Summit: https://youtu.be/_IBDPwVFKQA
... View more
11-15-2019
08:56 AM
|
0
|
2
|
948
|
|
POST
|
To add to what Kylie said above, yes, we are working on snapping now, and it will appear first in iOS, scheduled for release in December. It will also be in the holistic event next week. We’ll bring it to Android in early 2020.
... View more
11-14-2019
01:29 PM
|
1
|
1
|
2150
|
|
POST
|
You can get a free "Essentials" level developer subscription, and then use the developer tutorials to start spinning up on the basics. Tutorials can be done in any order and most only take about 10-15 to complete. Would you like to build this as a web application or a native application? Check out the developers.arcgis.com web page, and more specifically, take a look at the tutorials, which can help!
... View more
05-23-2019
08:04 PM
|
0
|
0
|
566
|
|
POST
|
Not completely sure we understand exactly what you're wanting to do, but here are a few places to start: First, the technical specifications for vector tiles and styles: https://docs.mapbox.com/vector-tiles/specification/ https://docs.mapbox.com/mapbox-gl-js/style-spec When it comes to vector tile layers, the specification for the vector graphics in the tiles being streamed to the browser, and the specification for the JSON that's used for applying styling/rendering to these vector graphics are two different specs. At the moment, we're thinking you'd be more interested in the latter, when it comes to what the graphics look like based on rules that you define in this renderer you're designing. Here's an interesting app that might provide you some examples of how this can be done: https://gbochenek.github.io/vector-tile-demo-js/https://gbochenek.github.io/vector-tile-demo-js/ And an example of how vector tile styling can be controlled from our JavaScript API, which may or may not help you with your Java implementation, but something else to look through. https://developers.arcgis.com/javascript/latest/sample-code/layers-vectortilelayer-json/index.html And a 10-minute hands-on tutorial that gives you a little more hands-on with how the vector tile styling JSON works: https://developers.arcgis.com/labs/arcgisonline/style-a-vector-basemap/
... View more
05-23-2019
07:45 PM
|
1
|
1
|
1735
|
|
BLOG
|
This should be working. Please let me know if it isn't.
... View more
05-23-2019
05:28 PM
|
0
|
0
|
1030
|
|
BLOG
|
Article written by Amy Niessen with contributions from Ciara Rowland-Simms On Wednesday, May 15th the Cardiff R&D Center co-hosted a Rust and C++ birthday party at Yolk Recruitment to celebrate Rust's 4th Birthday! Despite short notice, we were able to get the word out in time for a nice mixture of full-time freelance and hobbyist programmers as well as a few students to join us. Quite a few people expressed interest in helping out with future events while demonstrating a lot of enthusiasm for a Rust/C++ community in Cardiff! To begin, you can't have a party without cake, and to celebrate the birthday properly, you can see the cake and Ferris the crab, which was made from icing by Jack Kelly's partner, Sofia. We then began to introduce our speakers. We had Dan Morgan from DevOpsGroup, Ciara Rowland-Simms from Esri, Chris Light from Esri, and Jack Kelly from DevOpsGroup, with Chris doubling as MC for the event. The first two talks were about learning new languages, specifically Rust and C++. Dan had never done C++ before until that week and spoke on the confusion you face when trying to find best practices and up to date learning materials online. His talk will be part of series documenting his journey into C++, driven by advice from the audience about what resources to use next! Ciara did a talk on learning Rust, having also never used the language. By contrast, there is very coherent documentation story for Rust as it is a very modern language. The learning experience was therefore comparatively painless and she was able to cover install and setup, including debugging, along with discussing some cool and some controversial Rust language features (such as the heavy use of macros, the ability to do shadowing of variables, and implicit returns). Chris’s talk was Modern C++: ACCU 2019 revelations and covered some of the cool new features of C++ 20. He also discussed C++ 17 and more broadly the modernization of the language. The talk provoked some really good discussion on some of the network capabilities that are lacking in the standard library and provided a great space for talking about where the language is moving. The final talk was a dive in Rust best practices, helpful tips, formatting and linting tools, and how easy CI/CD can be with Rust. He really highlighted why people are so excited about Rust and how easily it can leveraged to hit the ground running even with only limited experience in the language. In the end, we had some specific language questions, which is always good. It seemed there were a lot of really good discussions taking place during the event and, of course, people already sharing excitement in the anticipation of future meetups. Going forward, we also hope to bring in more speakers – which hopefully won’t be difficult given the enthusiasm from audience members at our first event! We really liked having talks which were a mixture of beginner accessible and provoking good discussion for more experienced developers. We struck that balance pretty well this time and hope to do so again in future meetups. Overall, we were really pleased with how the event went and are really excited to see the beginning of a Cardiff C++/Rust community where we can all learn from each other and grow! We look forward to the next meetup and will be sure to announce it on the Meetup.com page. Be sure to follow it to stay in the loop on our next adventure!
... View more
05-20-2019
11:59 AM
|
1
|
1
|
1667
|
|
BLOG
|
Last month we hosted a unique GeoDev Webinar when we had Manushi Majumdar share her presentation on "Thinking Spatially and Statistically". Manushi introduced types and characteristics of spatial data and advanced GIS analysis techniques. She was able to cover a few basic concepts of statistics and show how they differ in a spatial context, advancing towards Spatial Machine Learning with ArcGIS. Here are the questions that were received during the webinar along with their respective answers: Q: What is the difference between machine learning and statistics? For example, with regression, is there a difference? This always puzzles me! A: Here is a resource to understand the difference: https://www.kdnuggets.com/2016/11/machine-learning-vs-statistics.html Q: Is there any geo-processing tools in built in ArcGIS for running machine learning algorithms? A: Yes, ArcGIS has support for several Machine Learning techniques. We would suggest looking this blog post to learn more about ML support within ArcGIS Desktop. https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/machine-learning-in-arcgis/ Q: Can you provide the link to the notebook again? A: Hub-Tutorials/GeoDev_ServiceRequests.ipynb at master · esridc/Hub-Tutorials · GitHub Q: Are there any other good resources for finding examples of utilizing Machine Learning with GIS? A: Here are just a few ArcGIS blogs demonstrating examples: https://www.esri.com/arcgis-blog/products/product/analytics/density-based-clustering-exploring-fatal-car-accident-data-to-find-systemic-problems/ https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/using-forest-based-classification-and-regression-to-model-and-estimate-house-values/ https://www.esri.com/arcgis-blog/products/arcgis-enterprise/analytics/the-science-of-where-seagrasses-grow-arcgis-and-machine-learning/?rmedium=redirect&rsource=blogs.esri.com/esri/arcgis/2017/09/18/the-science-of-where-seagrasses-grow-arcgis-and-machine-learning Q: Spatial Join: I see the tool has capability to join two layers with out common attributes . But can this be done on multiple layers in a single shot? The built-in tool has only option to select two layers. What are the options? A: Join works on a 1:1 principle, you can only join one layer to another. That said you can use the concept of table 'Relate' to join one table to many using a common attribute in those tables (does not work spatially). Q: Is it possible to integrate ArcGIS with machine learning software like Jupiter notebook? A: You can use ArcPy as well as the ArcGIS API for Python in Jupyter notebooks. Q: Is there a way to use machine learning to predict or project possible future incident locations without assigning a z-value? A: Z-score (standard score) denotes the number of standard deviations from the mean a data point is. Simply put, it conveys the distribution of a point around the mean. Prediction or Classification does not need z-scores for input variables. Q: Could you walk us through the hotspot analysis? How do you access these tools? A: Read through this https://pro.arcgis.com/en/pro-app/tool-reference/spatial-statistics/h-how-hot-spot-analysis-getis-ord-gi-spatial-stati.htm to learn more about HotSpot Analysis. It can be accessed within the Spatial Statistics (Mapping Clusters) toolbox in ArcGIS Desktop and under the Analyze Patterns category in ArcGIS Online. Q: Can we do the machine learning analyses using 10.6 geoprocessing tools? A: Yes, apart from the usual, ArcGIS Desktop 10.6 comes with two new tools Deep Learning Model To End and Export Training Data For Deep Learning. Q: I have a GIS online account. How can I access the data demonstration in ArcGIS online? A: The data I used for my examples is publicly available. Once you add it to your ArcGIS Online account, you can use the Summarize Center and Dispersion tool there to generate spatial mean, median and standard dispersion for your data. Q: How can I use ArcGIS for linear regression or logistical regression analysis? A: Support for regression, both linear and logistic, is available in ArcGIS Desktop Spatial Statistics (Modeling Spatial Relationships) toolbox. Click here https://pro.arcgis.com/en/pro-app/tool-reference/spatial-statistics/an-overview-of-the-modeling-spatial-relationships-toolset.htm to learn more. Q: Is machine learning part of programming, or is it remote sensing? A: Machine Learning involves concepts of statistics as well as algorithms to solve problems based on patterns or inferences drawn from data. Remote sensing, on the other hand, involves studying the planet using remote instruments. Machine Learning can have applications in the field of Remote Sensing, for instance, to detect buildings, roads using satellite imagery data. Q: Is the Jupyter environment embedded directly within Esri ML module? A: ArcGIS Enterprise 10.7 comes with Hosted Notebooks, that lets you perform spatial analysis and data science workflows in a notebook within your portal. Other than that, you can use ArcPy or ArcGIS API for Python in an external Jupyter Notebook too. Q: Which interpolation techniques suits best when you are dealing with underground water data? A: While it depends on your sampling size and distance, Kriging might be a good Interpolation technique. Q: Please suggest out-of-the-box tools provided by ArcGIS for machine learning algo. A: Yes, ArcGIS has support for several Machine Learning techniques. I'd suggest looking this blog post to learn more about ML support within ArcGIS Desktop. https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/machine-learning-in-arcgis/ For more information, Manushi shared her presentation: GeoDev Webinar - Thinking Spatially and Statistically Also, for the full recording of the webinar, click here.
... View more
05-17-2019
10:22 AM
|
3
|
0
|
846
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 10-30-2025 05:58 PM | |
| 1 | 07-10-2025 12:43 PM | |
| 2 | 06-12-2025 11:58 AM | |
| 3 | 06-27-2024 12:02 AM | |
| 26 | 06-26-2024 12:51 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|