POST
|
Hi there, I've been given a couple of svg files that I need to use in ArcGIS Desktop. After trawling around the web looking for answers I had no luck. I tried a couple of online converters, which I didn't really want to, but they didn't work for me. It then occurred to me that I should be using Data Interoperability. According to Supported formats with the Data Interoperability extension—Help | ArcGIS Desktop I find that svg is only available for writing (export). I did try to import the svg as a xml but that failed. Can anybody help with how I can import an svg file into ArcMap? Cheers, Don Stazic (NSW State Emergency Services)
... View more
05-06-2019
11:47 PM
|
1
|
0
|
4198
|
POST
|
Thank you Klara for those suggestions. I will give them a try. Don
... View more
01-06-2019
01:25 PM
|
0
|
0
|
223
|
POST
|
Hi Hubba Hubbers, In the Description field of Layout Builder's Dataset Settings (ArcGIS Hub) there seems to be no formatting available. I would like to centre that description under its dataset image. I've tried HTML and Markdown but they don't seem to be available. Tried spacing across but that seems to have no effect. Does anyone know a way to to centre the description? Cheers, Don
... View more
11-28-2018
05:45 PM
|
0
|
2
|
406
|
POST
|
Hi, Seems to be fine now. I know that initially when I had this problem I checked that the network dataset wasn't being used elsewhere. It was in ArcMap so I closed ArcMap but the problem persisted for the hour or so I tried various ideas. Another day and I tried again without that network dataset being opened in ArcMap at all prior to me trying. Now it's working!
... View more
12-01-2016
05:58 PM
|
0
|
0
|
254
|
POST
|
Hi all, I have an existing Network Dataset that was provided by an external organisation. It already has a Time_using_SpeedKPH attribute but I need to reduce the speed by a factor of 0.75. I'm new to Network Analyst so I'm still getting a handle how it all hangs together. I have though found that what I seem to need to do is alter the current Field Evaluator value ([LENGTH_M]*60)/([SPEED_KPH]*1000) by a factor of 0.75. Thing is I can't edit that, or any other, evaluator. I can put the cursor into the 'Value =' box but I can't change anything. Also, both parser buttons are greyed out as are all the items in the Functions list. I'm guessing that the network dataset has been locked to editing but I'm not sure on how to check this. The screenshots are attached. Any help would be greatly appreciated. Cheers, Don
... View more
11-30-2016
07:55 PM
|
0
|
1
|
1558
|
POST
|
Thanks Katie. A little after I posted that was exactly what I did. Works fine now.
... View more
06-08-2015
03:45 PM
|
0
|
0
|
407
|
POST
|
The path wasn't exactly what I thought it was. All's good now.
... View more
06-03-2015
04:52 PM
|
0
|
0
|
407
|
POST
|
Hi there, Currently in a python script I'm accessing a network drive using something like the following - filePath = r"N:\EPA\ ...\file\\" Not all the users though may have mapped that drive to N: In Windows Explorer the drive appears similar to this - Group (\\aaaap01.bbb.int) (N:) What should I set filePath to without using N: Thanks, Don
... View more
06-03-2015
04:31 PM
|
0
|
3
|
3474
|
POST
|
Just to add. If I have the following the zoom works fine and in this case the code doesn't wait as if its executing something. The message still doesn't print. If I didn't have the 3 lines of the selection code and just the message the addin just sits there looking like it's executing. import arcpy import pythonaddins import os.path class ZoomCase(object): """Implementation for PNF_Zoom_Case_addin.button (Button)""" def __init__(self): self.enabled = True self.checked = False def onClick(self): mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd)[0] df.zoomToSelectedFeatures() pythonaddins.MessageBox("Hello","Check")
... View more
05-27-2015
04:28 PM
|
0
|
0
|
994
|
POST
|
Thanks everyone for their input, I've learnt some stuff and tried both Rebecca's and Duncan's ideas. I haven't been able to look at this over the past week or so but I'm back onto it now. I haven't though been able to find a solution to my problem. The onClick event is being entered, that I'm sure of as I put in code that didn't use any pythonaddins and that worked. Three lines of code that just zoomed to selected features. I've tried in onClick event just having the following line pythonaddins.MessageBox("Hello","Check") Similar to calling pythonaddins.GPToolDialog() the program just keeps running, no message appears, so the problem appears to be has pythonaddins been imported even though that statement is there. Developers
... View more
05-26-2015
10:25 PM
|
0
|
1
|
994
|
POST
|
Thanks Duncan for looking into that at depth, I'm looking into those. You say that "The model in my toolbox ran without a problem", do you mean toolbar? The script tool when I run it from a toolbox under My Toolboxes works OK. The error message is interesting as GPToolDialog has two parameters. ArcGIS Help 10.1
... View more
05-14-2015
07:03 PM
|
0
|
1
|
994
|
POST
|
Hi, I had posted this in Developers but it's been sitting there a couple of days with no response so I thought I'd try this space instead. ... The answer is most probably glaring me in the face but I can't see it. I needed to activate a Python tool dialog through a Addin button and GPToolDialog looks like the answer. The following is the script, can't be much simpler. import arcpy
import pythonaddins
class ButtonClass1(object):
"""Implementation for Addin_Test_addin.button (Button)"""
def __init__(self):
self.enabled = True
self.checked = False
def onClick(self):
pythonaddins.GPToolDialog(r'C:\Users\stazicd\AppData\Roaming\ESRI\Desktop10.1\ArcToolbox\My Toolboxes\PVP Zoom.tbx','PVPZoom') The button runs and after some time eventually zooms out to the full extent of the map document. Don't be distracted by that zoom and think that my tool isn't working correctly. If I only have a simple pythonaddins.MessageBox the same thing happens. It looks like the script isn't finding pythonaddins. The button does work if I only have code in onClick that doesn't have any pythonaddins so the setup of the button is OK. To check I ran the above GPToolDialog command in ArcMap using the Python command line window, things worked as they should. Looks like I'm missing something in a set up somewhere. Any suggestions folks. Cheers, Don (Curtis Price formatted the code 5/15/2015)
... View more
05-12-2015
03:11 PM
|
0
|
7
|
6830
|
POST
|
Hi, Seems like a quirky one but perhaps someone might be able to help me out. This wasn't a problem for me under ArcGIS 9.x and I moved to ArcGIS 10 a few months ago. In ArcMap when I go to add an img file the img files in that folder are not listed. Similarly in ArcCatalog no img files are shown in the contents for that folder. To check I opened an existing mxd project that had these img files curious to see if they displayed. They displayed OK so I tried to go and add a img file that already is in the project again but no img files were listed when I navigated to that img file's folder. Others within our organisation don't have the problem. Thank you for taking the time to read my query. Cheers, Don
... View more
01-31-2013
02:13 PM
|
0
|
0
|
574
|
POST
|
Thanks Luke. I'll have to check but it sounds likely - Don
... View more
01-10-2012
06:18 PM
|
0
|
0
|
240
|
POST
|
Hi, This seems to be one of those 'what simple thing am I doing wrong' type of a problem. I'm trying to use the MODIS Import Tool for ArcGIS. Looking at the messages from my processing a MODIS tile has been intersected using my boundary. It then gets the error - "Error downloading images. Note: This is sometimes due to imagery source issues. Please try again shortly" This problem keeps recurring. The tool is found at http://www.pecad.fas.usda.gov/cropexplorer/modis_import_tool.cfm If you have any ideas, your thoughts would be appreciated. Cheers, Don
... View more
12-18-2011
03:57 PM
|
0
|
2
|
929
|
Title | Kudos | Posted |
---|---|---|
1 | 05-06-2019 11:47 PM |
Online Status |
Offline
|
Date Last Visited |
11-27-2020
04:49 PM
|