POST
|
Is there a way to use the ArcGIS API for python to create a map with LOCAL data? All I see on the website are examples with data hosted on ArcGIS Online.
... View more
10-14-2020
02:44 PM
|
0
|
1
|
1463
|
POST
|
We're working with a mix of different software to store and query our data on our PostgreSQL Server. We've found a way to deal with geometry data and convert the default st_geometry datatype into postGIS "geometry" and thus can query the data from inside R, for example, without external tools. When storing our raster data on the server, this task becomes much more difficult. Viewed in pg admin, my raster dataset consists of a table with a single row of the following columns: oid (integer), footprint (st_geometry), raster (integer). Where is the raster file (BLOB?) stored? We've searched through our database, but couldn't find anything relevant. Maybe these dependents give a hint?
... View more
08-13-2019
12:24 AM
|
0
|
1
|
1786
|
POST
|
I've actually been able to solve this some lines of python code. See my stackoverflow answer: arcpy - Python toolbox documentation from within pyt file - Geographic Information Systems Stack Exchange
... View more
05-02-2019
06:05 AM
|
2
|
0
|
1732
|
IDEA
|
I've actually been able to solve this some lines of python code. See my stackoverflow answer: arcpy - Python toolbox documentation from within pyt file - Geographic Information Systems Stack Exchange
... View more
05-02-2019
06:04 AM
|
4
|
0
|
2621
|
IDEA
|
I would be very much in favor of this approach. Sphinx and roxygen2 for R have been doing this for year! I've posted this as a question into Python (see here). I came here after writing an SO question on this.
... View more
04-02-2019
08:39 AM
|
0
|
0
|
2621
|
POST
|
Python toolboxes are a great way to create custom, GUI toolboxes for ArcGIS without actually interacting with the GUI (since everything can be defined within the pyt file). Regrettably (and incomprehensibly) documenting a python toolbox does require the GUI (Documenting a tool in a Python toolbox). I'd like to document my toolbox as I'm developing it, and since my toolbox is constantly changing during development, I'd like code and documentation to live in the same file. This help page also states: For Python toolboxes, the documentation for the toolbox and tools are stored in .xml files that are associated with the toolbox and tools by name. Since Python supports writing xml, it shouldn't be too hard to add documentation within the pyt file and dynamically create the xml file. After all, a partially complete xml file is created every time I change my python toolbox. I would imagine an approach similar to Sphinx or roxygen2 for R. This actually is already proposed as an ArcGIS Idea, Kory Kramer suggested asking here. How would something like this be achieved? I've attached the automatically generated, partially complete xml file.
... View more
04-02-2019
08:35 AM
|
0
|
1
|
2157
|
POST
|
Yes that's what the error says, it takes only 5 arguments. I had tried it since Yi Zou (ESRI employee?) had suggested it. Were you able to resolve your issue? I have problems running SegmentMeanShift within a python IDE as well.
... View more
01-17-2018
01:59 PM
|
0
|
1
|
440
|
POST
|
I'm experiancing the same problem as described by Dan Patterso but I can't solve it by reducing spectral detail. Your suggestion arcpy.gp.SegmentMeanShift_sa(in_raster,r"C:\test\seg_test.img", 20.0, 15, 10, "1 2 3") returns this error: Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: SegmentMeanShift() takes at most 5 arguments (6 given)
... View more
01-17-2018
01:28 PM
|
0
|
3
|
1680
|
Title | Kudos | Posted |
---|---|---|
2 | 05-02-2019 06:05 AM | |
4 | 05-02-2019 06:04 AM |
Online Status |
Offline
|
Date Last Visited |
11-21-2023
08:46 AM
|