POST
|
What type of images are they? For aerial or satellite imagery the way I do it is to create a mosaic dataset of the images with a single featureclass for the labels. Then use the mosaic dataset as input to the Export Training Samples tool. If you are using normal real world digital photos, then it would probably be better to use a specialized image labelling program. There are lots to choose from, for example LabelImg or VoTT. If you are doing Object Detection, then tool should output Pascal VOC format. There may be a bit of fiddling around required with formats etc. if you go this way.
... View more
05-01-2021
09:18 PM
|
1
|
2
|
1145
|
POST
|
It looks like you may have left out a crucial line from the script (Link) : items = gis.content.get(itemid) If gis is your target and gis2 is your source then it should be: items = gis2.content.get(itemid) Try the following: from arcgis.gis import GIS
gis = GIS(<Put your URL here>) # Where it is going to
gis2 = GIS(<Put your URL here>) # Where it is coming from
itemid = '<Put your ID here>' # The item ID to clone
items = gis2.content.get(itemid)
def deep_copy_content(input_list):
for item in input_list:
try:
print("Cloning " + item.title)
copy_list = []
copy_list.append(item)
gis.content.clone_items(copy_list, copy_data=True, search_existing_items=True)
print("Successfully cloned " + item.title)
except Exception as e:
print(e)
print("The function has completed")
deep_copy_content(items)
... View more
04-30-2021
05:25 PM
|
0
|
0
|
10171
|
POST
|
The below 2 examples work for me with my data: import arcpy
arcpy.env.extent = arcpy.Extent(468500,7864000,469000,7864500)
arcpy.ia.ExportTrainingDataForDeepLearning("input.tif", r"C:\deep_learning\output\export1", "Training_Data", "TIFF", 256, 256, 0, 0, "ONLY_TILES_WITH_FEATURES", "PASCAL_VOC_rectangles", 0, "Classvalue", 0, None, 0, "MAP_SPACE", "PROCESS_AS_MOSAICKED_IMAGE", "NO_BLACKEN", "FIXED_SIZE") import arcpy
arcpy.env.extent = "468500 7864000 469000 7864500"
arcpy.ia.ExportTrainingDataForDeepLearning("input.tif", r"C:\deep_learning\output\export2", "Training_Data", "TIFF", 256, 256, 0, 0, "ONLY_TILES_WITH_FEATURES", "PASCAL_VOC_rectangles", 0, "Classvalue", 0, None, 0, "MAP_SPACE", "PROCESS_AS_MOSAICKED_IMAGE", "NO_BLACKEN", "FIXED_SIZE") When you have these sorts of problems, it is always good to get the simplest set of inputs to test with. I suggest creating a test featureclass with just 2 polygons in separate corners of your image. Then try and export the training data for just one of them using the extent parameters. Also try doing it just like the above, without using variables. Also, one of the reasons it may be taking 4 hours is that you have specified the rotation angle as 45 degrees. For each image created it will create an additional 7 images (going around in 45 degree increments), and could therefore maybe take up to 7 times as long. This will also make your deep learning training much longer as well. Normally how this is handled is that when you train your model you tell it to transform your input images by randomly rotating them. So you get all the benefits of more training data but without pushing huge amounts of samples through the model. And one more thing from that warning message - it's probably a good idea to define a class value for your data, just in case that causes other problems later. Just add a field called Classvalue (as a Long) to your polygons and set it to 1. Then choose that field in the parameters.
... View more
04-30-2021
05:11 PM
|
0
|
0
|
950
|
POST
|
Hi Maryam, If the source images have an additional header file (like .TFW), then the easiest way would be to copy that file and rename to match your output filename. If there is no .TFW file, then you could write a script to read the origin point and cell size from the source images and create the TFW file yourself. If you need to set the projection then the Define Projection tool could do that. Note: this will probably not work if the images have been georeferenced (scaled, rotated etc.) because the parameters would be in the .aux.xml file and would be hard to apply to a new image. If it's just a normal image then you should be ok though. Let me know if you need any more info.
... View more
04-29-2021
10:20 PM
|
0
|
3
|
1315
|
POST
|
Hi Luka, Been meaning to respond to this but only just got around to it. Unfortunately TINs cannot have vertical surfaces - they also cannot represent things like S shapes. The best you could do would be nearly vertical - ie: offset the points at the bottom of the wall vs the top. I can think of a couple of different options for you: How about creating polylines coming out from the sides of the buildings to represent the noise levels. You would need to know the building side angle so you could make them perpendicular. The length of the line could represent the noise value and you could also colour them by the same attribute. If you did want a TIN like surface then you could create individual triangular 3d polygon features. Symbology on this type of surface might be tricky though - you could attribute each triangle with a noise range and colour them that way. I would be interested to see your final result if you are able to share a screenshot.
... View more
04-29-2021
10:13 PM
|
1
|
1
|
1423
|
POST
|
For ArcMap, arcpy.mapping.Layer has a method called GetSelectedExtent. ArcPy - Mapping module - Classes - Layer For Pro users, unfortunately it does not have this method, but there is a solution here (yes, uses search cursor but does not union so should be fairly quick): ArcPy.mp Get Selected Features Extent
... View more
04-28-2021
11:46 PM
|
1
|
1
|
540
|
POST
|
You could use your DEM file to display a hilllshade as shown on this page: https://www.esri.com/about/newsroom/arcuser/create-amazing-hillshade-effects-quickly-and-easily-in-arcgis-pro/ The Z Factor parameter may also be useful to overcome the small differences in elevation like it sounds you have.
... View more
04-27-2021
12:46 PM
|
0
|
0
|
685
|
POST
|
Each zoom level does have a scale. Since you are talking about zoom level 24, I presume you are using the standard ArcGIS Online\Bing\Google tiling scheme. There is an easy to set this up in ArcMap to make it clearer. Click the drop down arrow in the scales box in the toolbar and choose Customize This List. Click on Load and choose ArcGIS Online. Tick the box marked Only display these scales. Now your scale chooser will have the full list of the zoom level scales. When you click the zoom in button once it will go to the next zoom\scale level. So zoom level 0 is 1:591,657,528 and zoom level 23 is 1:70.53
... View more
04-22-2021
06:40 PM
|
2
|
1
|
1290
|
POST
|
An issue was just posted to Esri's deep learning GitHub site about this (may be caused by a lack of CUDA 11 support in the underlying packages): https://github.com/Esri/deep-learning-frameworks/issues/17 Probably worth adding your name to that as well - the more people raising it the more likely it might get fixed.
... View more
04-21-2021
10:00 PM
|
0
|
1
|
3541
|
POST
|
I have attached a small test ecw file that you can use to confirm that your Pro install can actually open and display them. Unfortunately it does sound like an issue with that particular ecw file. Your best bet may be to open it on your laptop, get the file properties and contact Esri support for assistance.
... View more
04-18-2021
04:08 PM
|
0
|
3
|
2665
|
POST
|
Esri has a very good blog post about controlling the camera in scenes: 3D camera intro using the ArcGIS API for JavaScript At the bottom of the blog post they show this sample: Rotating 3D Buildings Berlin (you can modify the rotation direction to counter clockwise in the rotate function by changing +0.1 to -0.1).
... View more
04-18-2021
02:39 PM
|
1
|
1
|
833
|
POST
|
Well that's a bit different than what I was expecting. When you say triangulated into meshes, do you mean as a series of stacked solid layers (like a cake) or replicating each individual cell as a 3d object? Is your symbology\colouring fixed or do you expect it to change at run time? Is it just zones, or do you have multiple variables in the grid? You should also check out Esri's voxel capability in Pro 2.6/2.7. https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/what-is-a-voxel-layer-.htm. There are a few limitations - only works with NetCDF data at the moment and 3D viewing is only supported in ArcGIS Pro scenes and not yet via web viewers. However additional functionality should be coming in future Pro releases.
... View more
04-18-2021
02:25 PM
|
0
|
2
|
1765
|
POST
|
Hi Jamal, The environment cannot be removed because it is currently active. You will need to make a different environment active by clicking the radio button in the Active column. When doing this, ArcGIS Pro will give a message: "Restart ArcGIS Pro for your environment changes to take effect.". Once you have restarted ArcGIS Pro, that original environment (arcgispro-py3-clone1) can be removed.
... View more
04-18-2021
12:33 AM
|
1
|
0
|
1306
|
POST
|
The answer of course is ... maybe! I don't use City Engine, I just remember reading something about GLTF support somewhere. Might be worthwhile posting a question in the ArcGIS City Engine community. It would help if you could describe your model in a bit more detail, maybe with some screenshots (if it is not confidential). There is a big difference between a full city (or province) wide integrated mesh model vs a model made up of DEM + imagery + BIM + multipatches for example. There may be good reasons to take your original source datasets and bring them into the esri environment via a variety of methods to get the best results.
... View more
04-17-2021
06:38 PM
|
0
|
4
|
1773
|
POST
|
It's on our backlog but can't share any timelines for it. I've added your request to the issue. Unfortunately, based on that wording, I doubt that it would have progressed from there to release in 6 months. Esri do roadmaps for a couple of versions in advance, so I wouldn't hold out much hope until you see it on a roadmap. You could always add it to the ArcGIS Ideas and get people to support it.
... View more
04-17-2021
03:43 PM
|
0
|
1
|
575
|
Title | Kudos | Posted |
---|---|---|
1 | 06-04-2021 12:20 AM | |
1 | 02-28-2023 03:58 PM | |
1 | 02-19-2023 10:12 PM | |
1 | 04-14-2021 05:57 PM | |
1 | 08-20-2021 02:12 PM |
Online Status |
Offline
|
Date Last Visited |
02-25-2024
11:41 PM
|