New answers tagged mapping
Thank you for your input Chris W. My question was very similar to this one ( How to convert KML to shapefile without losing attributes? ). If anyone else is having trouble with this here is how I fixed it: download global mapper (you can get a 2 week trial for free), upload the KMZ file (I believe it works with KML too but I haven't tried it) under "File". ...
Given you're already familiar with Python I'd recommend taking a look at the cartopy library for plotting spatial data with matplotlib. It's a much nicer replacement to matplotlib-basemap. The basic idea of cartopy is that you can apply a projection to both your matplotlib frame as well as everything you're plotting to the frame. It also includes a lot of ...
Does the problem also occur in the Python Window? Like: import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df1 = arcpy.mapping.ListDataFrames(mxd) lyr = arcpy.mapping.ListLayers(mxd, "*", df1) arcpy.SaveToLayerFile_management(lyr,"""D:/test.lyr""",'#') (I am using 10.0 so there are only 3 arguments for SaveToLayerFile_management())
I think the issue is that you are trying to save a service layer. I couldn't tell you why it doesn't work through Python, but I have had similar issues with database joins and symbology. They work when I do it by hand, but not when I try and script it, it doesn't work. Even though it seems like it's the same task. In these situations I had to move to ...
Top 50 recent answers are included