POST
|
Steve, This is a bug caused by the language in your AGOL/Portal organization being set to Korean. Most of the basemap names are in Korean: We will fix this in the next release but for now you can work around this by selecting one of the Basemaps named in English (National Geographic or OpenStreetMap). Once the project has been opened in ArcGIS Pro you can switch the basemap in the project to whatever basemap you want to use. Thanks, jt
... View more
07-06-2017
06:24 AM
|
1
|
0
|
501
|
POST
|
Hi, I'm one of the developers on Drone2Map and I'd be happy to take a look at this for you. In the project folder there is folder: C:\Users\<user>\Documents\Drone2Map Projects\<project_name>\products\GP\Open in ArcGIS Pro Could you zip up this folder and send it to me? I'll send my email in a private message. Thanks, jt
... View more
07-05-2017
04:37 AM
|
0
|
0
|
501
|
POST
|
This is a known issue with Drone2Map 1.2. The first time you start Drone2Map it attempts to license to www.arcgis.com. If you are behind a firewall then licensing can not reach that url and the application will not open. (apologies, this has been corrected and will be released in a future build). The work around is: Edit the file "C:\Users\<user>\AppData\Local\IsolatedStorage\zovy5ns2.wpc\polmcoza.1d1\Publisher.kakyaydnplrkukgdwqg2aisd4iopallh\AssemFiles\LicensingOptions" (the specific path may be different on your system). It will contain: https://www.arcgis.com 3 True You need to edit this file to contain your on premise URL: https://myserver.mydomain.com/portal 4 False
... View more
07-03-2017
04:56 AM
|
2
|
2
|
674
|
POST
|
Hi Hailian, Have you made any progress on this? Please review the replies I'm posted to Naomi here as I think they apply to your issue also. I would ask that you try the same as I suggest for her: Could you verify that you have access to the basemap services by going to the following URLs in a web browser. You should see a description of the service: http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer Also could you do this: Start Drone2Map Go to Settings/System Settings Select "Debug" in the top most dropdown (Set the log level for messages logged by Drone2Map for ArcGIS) Click Save Exit Drone2Map Restart Drone2Map Select a couple different basemaps Exit Drone2Map Send me the file: "C:\Users\<user>\AppData\Local\Drone2Map\log\D2M.log" I will send you my email in a private message. Thanks, jt
... View more
06-29-2017
05:00 AM
|
0
|
0
|
741
|
POST
|
Hi, Could you verify that you have access to the basemap services by going to the following URLs in a web browser. You should see a description of the service: http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer Also could you do this: Start Drone2Map Go to Settings/System Settings Select "Debug" in the top most dropdown (Set the log level for messages logged by Drone2Map for ArcGIS) Click Save Exit Drone2Map Restart Drone2Map Select a couple different basemaps Exit Drone2Map Send me the file: "C:\Users\<user>\AppData\Local\Drone2Map\log\D2M.log" I will send you my email in a private message. Thanks, jt
... View more
06-29-2017
04:52 AM
|
0
|
0
|
741
|
POST
|
Hi Naomi, Sorry for the problems you are seeing. First one, the Image Points and Flight Lines not displaying in NTZM is known issue. Projected coordinate systems are not being displayed properly. You can still run processing and it should work fine, even thought you can't see the Image Points and Flight Lines, however the results won't display in the application correctly unless your Output Coordinate System is set to WGS or UTM. If you use a projected output coordinate system the products will still be available to use in other products (like ArcMap or ArcGIS Pro). They will be located at C:\Users\<user>\Documents\Drone2Map Projects\<project>\products The basemap problem. It looks like your AGOL Organization doesn't have a default basemap set. Try going to your organizations settings and make sure it's set. It looks like you have access to the basemaps in Drone2Map, try selecting one and see if it displays. If one displays then you should be able to click the Offline Basemap button in the Layers menu to download that basemap.
... View more
06-27-2017
07:06 AM
|
0
|
2
|
741
|
POST
|
If you are authenticated to an AGOL organization and it is using the Esri Default basemap group then you should be able to download offline basemaps from there. The basemaps displayed in D2M are from services.arcgisonline.com (e.g. https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer) and offline basemaps will be downloaded from tiledbasemaps.arcgis.com. (e.g. https://tiledbasemaps.arcgis.com/ArcGIS/rest/services/World_Imagery/MapServer). Please see if you can access both https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer and https://tiledbasemaps.arcgis.com/ArcGIS/rest/services/World_Imagery/MapServer from your D2M machine. You will need to clear the group you have set in Application Settings/Offline Basemaps as shown below, to download Offline Basemaps. If downloading offline basemaps still is not working for you then I would be interested in viewing your D2M.log file. Please set the logging level to debug, attempt to download a basemap and send me the "C:\Users\<user>\AppData\Local\Drone2Map\log\D2M.log" The offline basemap settings in Application Settings are intent for organizations authenticating to a portal behind a firewall that do not have access to AGOL. The group in this section of Application Settings is intended for organization that are authenticating to a Portal behind a firewall that does not have access to services.arcgisonline.com and tiledbasemaps.arcgis.com. In this case they would have to set up a group containing their custom basemaps and set that group as their basemap gallery in their portal organization settings. If they wish to use the offline basemap functionality on D2M they would also have to create a group in their portal containing "tiled" versions of their basemaps and select that group in D2M/Application Settings/Offline Basemaps.
... View more
06-26-2017
07:46 AM
|
0
|
4
|
741
|
POST
|
It appears that this is a known issue in Drone2Map for ArcGIS Version 1.1 There is a race condition between loading the basemap and drawing the project on the map. This doesn't happen for everyone, it depends on how quickly the basemap loads. In this case Laird was starting Drone2Map by double clicking the *.d2m file in Explorer. A work is to open Drone2Map first, wait for the basemap to load and then open the project from the "Project" tab backstage. This issue should be fixed in the Drone2Map for ArcGIS Version 1.2 release.
... View more
05-11-2017
11:30 AM
|
1
|
0
|
591
|
POST
|
This is happening every time that projects are opened after processing is completed? Please do the following and send the D2M.log to me (I'll message you my email): Edit: "C:\Program Files\ArcGIS\Drone2Map\Bin\data\config\log.json" { "logLevel": "debug" } Run Drone2Map and try to load the project, then send me "C:\Users\<user>\AppData\Local\Drone2Map\log\D2M.log"
... View more
05-08-2017
08:24 AM
|
0
|
0
|
591
|
POST
|
I just talked to an arcpy.mp developer and he said zooming on a Map View is not supported in arcpy.mp yet and probably will not be for awhile.
... View more
05-03-2017
09:37 AM
|
3
|
9
|
12304
|
DOC
|
05-03-2017
05:03 AM
|
0
|
0
|
1884
|
POST
|
I uploaded my code, project and image for testing to here: https://community.esri.com/docs/DOC-10001-zoom-to-a-layer-in-arcgis-pro-project-using-arcpymp Here's my code: import arcpy.mp
try:
aprx = arcpy.mp.ArcGISProject(r"C:\Temp\ArcPro\Empty.aprx")
map = aprx.listMaps()[0]
print(map.name)
layout = aprx.listLayouts()[0]
mapframe = layout.listElements("MAPFRAME_ELEMENT")[0]
print (mapframe.name)
print (mapframe.map.name)
ext = mapframe.camera.getExtent()
print ("MapFrame Extent: " + ext.JSON)
mapframe.map.addDataFromPath(r"C:\Temp\ArcPro\Orthomosaic.tif")
mapframe.zoomToAllLayers()
ext = mapframe.camera.getExtent()
print ("MapFrame Extent: " + ext.JSON)
mapext = map.defaultCamera.getExtent()
print ("Map Extent: " + mapext.JSON)
aprx.saveACopy(r"C:\Temp\ArcPro\New.aprx")
except Exception as err:
print("Error Aprx. %s" % str(err)) Here's the output: MyMap My Map Frame MyMap MapFrame Extent: {"xmin":-13520478.935883986,"ymin":2728123.2144682845,"xmax":-10568557.934067367,"ymax":6815398.4477528343,"spatialReference":{"wkid":32632,"latestWkid":32632}} MapFrame Extent: {"xmin":424855.68683000002,"ymin":5132283.3477261541,"xmax":425127.21863000002,"ymax":5132659.3148338469,"spatialReference":{"wkid":32632,"latestWkid":32632}} Map Extent: {"xmin":424842.11024000001,"ymin":5132306.757046001,"xmax":425140.79522000003,"ymax":5132635.9055140009,"spatialReference":{"wkid":32632,"latestWkid":32632}} Press any key to continue . . . When you open New.aprx in ArcGIS Pro the Layout is zoomed to Orthomosaic.tif, but MyMap is not, even though the Map Extent looks correct and is the same as the MapFrame Extent.
... View more
05-03-2017
04:58 AM
|
1
|
1
|
12304
|
POST
|
The example you listed above only zooms the Layout, not the Map that the Layout contains. I have tried setting both the MapFrame and the Map. That's what I was trying to say in the last sentence of my last post. My code is essentially this: import arcpy.mp aprx = arcpy.mp.ArcGISProject(r"C:\temp\Empty.aprx") map = aprx.listMaps()[0] layout = aprx.listLayouts()[0] map.map.addDataFromPath(r"C:\Users\xxxxxx\Documents\Test1\Orthomosaic.tif") mapFrame = layout.listElements("MAPFRAME_ELEMENT")[0] mapFrame.zoomToAllLayers() map.defaultCamera = mapFrame.camera aprx.saveACopy(r"C:\temp\New.aprx") And the Map is added to the Layout in Empty.aprx before I run this code. Now when I open New.aprx the map is NOT zoomed to the extent of all layers (the extent of Orthomasaic.tif), however if you look at the Map Properties its extent is set to the extent of all layers (the extent of Orthomasaic.tif).
... View more
05-02-2017
02:42 PM
|
0
|
0
|
12304
|
POST
|
There's this statement: Extent is not a direct property of the Camera object because it is not an explicit property but rather a derived property. Camera positions do not store extent properties, but from an X, Y location and a scale, extent is derived. The getExtent method will return a derived extent. When an extent is returned from a 3D map view, it is based on the camera position looking straight down (pitch=-90). When the setExtent method is used on a 3D map, again, the result will appear as if the camera is looking straight down. And I have tried setting X,Y and Scale but they don't seem to take. They always remain nan. I have also tried zooming a layout and copying the camera from that to the Map.defaultCamera. The extent on the map seems correct on the Map when you open the project, however ArcGIS Pro doesn't zoom the map to that extent when you open the project.
... View more
05-02-2017
01:51 PM
|
0
|
1
|
12304
|
POST
|
I'm writing code to create new ArcGIS Pro Projects using the Pro arcpy (package arcpy.mp) Doing something like this: import arcpy.mp aprx = arcpy.mp.ArcGISProject(r"C:\temp\Empty.aprx") map = aprx.listMaps()[0] map.map.addDataFromPath(r"C:\Users\xxxxxx\Documents\Test1\Orthomosaic.tif") aprx.saveACopy(r"C:\temp\jNew.aprx") But I can't figure out to zoom the map to the extent of Orthomosaic.tif (or any other extent for that matter). From the docs at Alphabetical list of arcpy.mp classes—ArcPy | ArcGIS Desktop I can see that a MapFrame has a zoomToAllLayers method, but a MapFrame is only available on a Layout element. Anyone know how to do this? Thanks.
... View more
05-02-2017
01:08 PM
|
0
|
23
|
24274
|
Title | Kudos | Posted |
---|---|---|
1 | 05-03-2017 04:58 AM | |
1 | 10-05-2016 07:27 AM | |
1 | 07-06-2017 06:24 AM | |
1 | 10-13-2016 04:38 AM | |
1 | 12-05-2016 01:49 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|