|
POST
|
Hi, a useful division can be derived like this too: Minimum Bounding Geometry—Data Management toolbox | ArcGIS Desktop Subdivide Polygon—Data Management toolbox | ArcGIS Desktop Or this very stylish option 😉 https://pm.maps.arcgis.com/home/item.html?id=9398bd2232cb4c8490b0b05015364d28
... View more
01-21-2020
06:37 AM
|
1
|
0
|
1128
|
|
POST
|
I can see a link to download a spreadsheet which exposes coordinates: http://www.sites.bipt.be/lijst-liste.xlsx I simplified it (attached, using Data Interoperability extension). Then Convert Coordinate Notation tool can expose lat/long better:
... View more
01-15-2020
07:34 AM
|
1
|
0
|
5553
|
|
POST
|
Another option is to implement this approach which separates your business tables and related tables with system managed fields: https://pm.maps.arcgis.com/home/item.html?id=50e74e318a5e4e17b1cc2a06258daba1
... View more
01-08-2020
07:01 AM
|
0
|
0
|
4108
|
|
IDEA
|
I got it from a colleague whose name I have spaced 😉
... View more
01-07-2020
03:15 PM
|
0
|
0
|
5555
|
|
POST
|
Stephen, please uninstall both Data Interoperability and Pro 2.4, then re-install Pro and Data Interoperability. We have seen this come up occasionally in the past but complete un/re-install should fix it.
... View more
01-06-2020
07:00 AM
|
1
|
0
|
1061
|
|
POST
|
Hi, this begs the question if Geocode Addresses should return a feature class and a separate related table with the match details keyed on ResultID. Then the output features would not be so overloaded. If you agree then please create an Ideas item and we can monitor votes on it.
... View more
01-06-2020
06:40 AM
|
0
|
0
|
4108
|
|
IDEA
|
Hi, I'm no expert on this but you can save a raster processing function chain as an RFT file and re-use it on any raster.
... View more
12-20-2019
06:23 AM
|
1
|
1
|
3289
|
|
IDEA
|
Hi, I don't know if this fits with your needs but you can import MVT data with a script tool, here is the source from an example. In my case the MVT data is on disk but it looks like the driver supports a service. Note also in my case the tiles have the extension '.mvt' and not '.pbf' so you can edit that setting. # MVTImporter.py - Import mapBox vector tiles to GeoPackage
# coding: utf-8
# For ogr methods see: https://gdal.org/python/ and surf the osgeo.ogr module
import arcpy
import os
from osgeo import ogr
arcpy.env.overwriteOutput = True
# Get zoom level folder
zoomFolder = arcpy.GetParameterAsText(0)
# Copy each layer to a new GeoPackage
level = os.path.basename(zoomFolder)
outgpkgPath = os.path.join(zoomFolder,
'ZoomLevel{}.gpkg'.format(level))
srcName = 'ZoomLevel{}GPKG'.format(level)
mvtDriver = ogr.GetDriverByName('MVT')
mvtDriver.SetMetadataItem('TILE_EXTENSION','mvt')
mvtDataSource = mvtDriver.Open(zoomFolder)
gpkgDriver = ogr.GetDriverByName('GPKG')
gpkgDataSource=gpkgDriver.CreateDataSource(outgpkgPath)
for i in range(mvtDataSource.GetLayerCount()):
name = mvtDataSource.GetLayerByIndex(i).GetName()
arcpy.AddMessage('Copying layer {}'.format(name))
gpkgDataSource.CopyLayer(mvtDataSource.GetLayer(name),
name,
['OVERWRITE=YES'])
gpkgDataSource.FlushCache()
gpkgDataSource.SyncToDisk()
gpkgDataSource.Destroy()
mvtDataSource.Destroy()
# Set output parameter
arcpy.SetParameter(1,outgpkgPath)
arcpy.AddMessage('Done')
... View more
12-13-2019
06:24 AM
|
3
|
0
|
4544
|
|
POST
|
My mistake Michael, I'm using Pro 2.5 so the functionality must be new.
... View more
12-12-2019
09:42 AM
|
1
|
2
|
2710
|
|
POST
|
Michael add the locator to your project then in the Locators leaf right click to view the properties. Reference data tables are an available property.
... View more
12-12-2019
09:23 AM
|
0
|
4
|
2710
|
|
BLOG
|
Bonjour Nadine! Excusez moi pour mon Francaise mauvais, so I'll switch to English! I suspect your ODBC source is returning bytes objects and not unicode in character fields, maybe this can be corrected in the source database but if not for each affected column use a decode method on the values. For example if a value prints as bytes with hex values in it: >>> print(x) b'donn\xc3\xa9es' Then try decoding the value: >>> print(x.decode('utf-8')) données So, if this is the problem then the script will need editing. Regards
... View more
12-06-2019
08:48 AM
|
0
|
0
|
5114
|
|
POST
|
Hi Naomi, if you mean EPS (encapsulated postscript) then a route through might be Imagemagick + Ghostscript.
... View more
12-06-2019
06:07 AM
|
1
|
1
|
4491
|
|
BLOG
|
In an earlier post I introduced a technique for capturing map extents from user input and sending these as parameters to a Spatial ETL Tool. This made the spatial extent of the processing dynamic with user input. The key was wrapping the ETL tool with ModelBuilder to take advantage of its ability to interact with a map. This post is along similar lines except showing how to capture a user's selection of feature classes to process at run time. This makes the feature types being processed dynamic with user input. First some background. The FME Workbench application used for authoring Spatial ETL tools is designed for repeatable workflows with known input feature types, and the work centers around managing output feature characteristics. In ArcGIS we are used to geoprocessing tools being at the center of data management and needing to handle whatever inputs come along. We're going to make Spatial ETL a little more flexible like ArcGIS with some modest ModelBuilder effort. Here is some data: In my project database it looks like this (the main point is it is all in one geodatabase): ...and my Project Toolbox has a Spatial ETL Tool and a Model: The Spatial ETL Tool... ...does absolutely nothing! Well, it reads some default feature types from a default File Geodatabase, then writes them all out to the NULL format (great for demos, it never fails). The trick here is I made the 'FeatureTypes to Read' input parameter of the File Geodatabase reader a User Parameter (you right click on any parameter to publish it this way). The only other thing to 'know' ahead of the Modelbuilder stuff is that the ArcGIS Pro geoprocessing environment is smart enough to see Spatial ETL tool inputs and outputs that are Workspaces in geoprocessing terms (Geodatabases, Databases, Folders) as the correct variable type in ModelBuilder but that usually other FME Workbench workspace parameters you might expose are seen as String geoprocessing parameter type. This means in our case if we choose multiple feature classes from my project home Geodatabase, like say 'Adds' and 'Deletes', then the ETL tool wants the value supplied to be a space-separated string like 'Adds Deletes'. Here is the model, DynamicFeatureTypesModel. Its last process is the Spatial ETL tool DynamicFeatureTypes. There are three processes ahead of it. On the left is the sole input parameter 'FeaturesToRead', of type Feature Class (Multi Value) (you could use Feature Layer too with a little more work in the model to retrieve source dataset paths): There are three Calculate Value model tools, their properties are: Get GDB: This returns the Geodatabase of the first feature class in the input set. GetFeaturesToRead: This returns the names of the feature classes as a space-separated string. GetGDB and GetFeaturesToRead supply the ETL tool input parameter values. CheckSameWorkspace: This returns a Boolean test that all input feature classes are from the same Geodatabase. It is used as a precondition on the Spatial ETL Tool as that is designed with a File Geodatabase reader and must receive that format data and only once. That's it! The DynamicFeatureTypes model can be run like a normal project geoprocessing tool with the ability to select any desired inputs, and the Spatial ETL tool behind the scenes takes what it gets. If you select inputs from different File Geodatabases the precondition check will prevent the tool from executing. Here is the details view from a run with data from a different Geodatabase. Please do comment in this blog with your comments and experiences. The project toolbox and ETL source are in the post attachment.
... View more
11-21-2019
01:53 PM
|
4
|
0
|
3040
|
|
POST
|
Well Pro with the OGC option eports 'non-simple' as an issue, which is better than using 10.7.1, but not as good as the GeometryValidator in Workbench which provides issue details and location: GeometryTrait(string) : `_issues{0}.issue_found' has value `Fails OGC Valid' GeometryTrait(64 bit real) : `_issues{0}.location_sample.x' has value `18.579111' GeometryTrait(64 bit real) : `_issues{0}.location_sample.y' has value `54.387517' GeometryTrait(string) : `_issues{0}.repair_state' has value `Not Fully Repaired' GeometryTrait(string) : `_issues{0}.supplementary_info' has value `Hole Outside Shell' GeometryTrait(string) : `_issues{0}.supplementary_info{0}.details' has value `Hole Outside Shell' GeometryTrait(64 bit real) : `_issues{0}.supplementary_info{0}.location.x' has value `18.579111' GeometryTrait(64 bit real) : `_issues{0}.supplementary_info{0}.location.y' has value `54.387517' 🙂
... View more
11-21-2019
07:14 AM
|
1
|
2
|
5263
|
|
POST
|
I'm confused too! I created a feature class from the WKT using Workbench and it made the below Here it is as WKT Aside from the precision this looks like what went in, and 10.7.1 Check Geometry reports nothing for me. Like you say it needs manual work.
... View more
11-21-2019
07:05 AM
|
0
|
1
|
5263
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 07-22-2026 12:59 PM | |
| 1 | 07-01-2026 07:45 AM | |
| 1 | 07-01-2026 08:25 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|