Is there any possible way to export a map from Arcmap 10.5 without the white background?  I need to insert the map in a dashboard with blue background and i only need the outline of the layer not the white background.
122579
I cannot get ArcMap 10.0 or 10.1 to "Export Map" to a png or gif with a transparent background -- no matter what I set the background and transparent colors to.  Thus, I created the following script, which does the trick, but I'd rather be able to get the default tool in ArcMap to do it.  Any better ideas?    # Purpose: This script exports an MXD view to a png file with transparent background, # which is problematic to do manually due to a Windows-related bug in the ArcMap UI. # Warning: It will make any white features (e.g. the default background color) transparent. # # INSTRUCTIONS: # When in ArcMap, viewing a saved mxd... # 1. From the Geoprocessing menu, select 'Python'. # 2. In the new Python window, right-click somewhere after &gt;&gt;&gt;, and select 'Load...' # 3. Select this script. # 4. When this script appears, press Enter twice to run it. # 5. A new [mxd-name].png with transparent background will appear in the same directory as the mxd. # 6. When finished/satisfied, close the Python window. # http://forums.arcgis.com/threads/65463-Zoom-to-tile-and-Export-to-JPEG-with-World-File import arcpy png_resolution = 300    # Can adjust DPI # Set mxd and png name mxd = arcpy.mapping.MapDocument("CURRENT") pngname = mxd.filePath.replace(".mxd",".png") df = arcpy.mapping.ListDataFrames(mxd)[0] # Calculate ideal image size from the mxd view and desired DPI png_width = int((df.extent.XMax - df.extent.XMin) * png_res * 12 / df.scale) png_height = int((df.extent.YMax - df.extent.YMin) * png_res * 12 / df.scale) #Export PNG print "Exporting: {0}\n{1} x {2} pixels, {3}-dpi".format(pngname,png_width,png_height,png_res) arcpy.mapping.ExportToPNG(mxd, pngname, df, df_export_width = png_width, df_export_height = png_height, resolution = png_res, transparent_color = "255, 255, 255") #Clean up del df, pngname, png_res, png_width, png_height, mxd
120196
I have created this image in Photoshop:    Layers:    I would like to save this arrow to a .jpg file without the white background rectangle. How can I achieve that? I was trying to hide the background layer before saving, but this doesn't help.
111382
I am new at this. I am extracting files a game. In the game they have thin black outlines, but they aren't part of a model. I am having trouble finding anything about this. What is the simplest way to do this?  Update: I think I am looking for something like freestyle. What is the simplest way to use this to create a thin black outline around a model?
25164
I have a shapefile with contours and their heights.   Is it possible to make a DEM from contours in QGIS without using GRASS?   I found  but the answer is for ArcGIS Desktop.
72358
I need to create the polygon outlines of several single layer raster images, not the extent/bounding box, but the area without the nodata values, as shown here: .  In the answer to the question above, the Image Boundary plugin was mentioned, however, I don't find it in the QGIS 1.8.0 Lisboa, running on Ubuntu.   Is the tool still available?  If not, is there a way to do this using opensource tools, either gdal, R, QGIS, GRASS, or similar, not with ArcMap?
67662
Has anyone created a dataframe geotiff using arcpy.mapping.ExportToTIFF() with satisfactory results?   My output has poor quality and the georeferencing is significantly off. This example is the geotiff at 50% transparency on top of my data. The shift between "South El Monte" is the best shift example.    Here is an example of the code:  currentMxd = arcpy.mapping.MapDocument(r"F:\Test\amp_Edit.mxd") dataFrame = arcpy.mapping.ListDataFrames(currentMxd, "Layers")[0]  arcpy.mapping.ExportToTIFF(currentMxd, r"F:\Test\outtif.tif", dataFrame, df_export_width = 46000, df_export_height = 29000, resolution = 1000, geoTIFF_tags = True)
52444
I was trying to incorporate a map outline in a logo using trace bitmap feature in inkscape. I was able to trace with some modifications in the setting, but the problem is it has more number of nodes. I am trying to reduce the number of nodes using simplify command, but as soon as I do this I am loosing the curves of the map &amp; even getting variable thickness. Is there any workaround to solve this problem. Also is there any other method to include maps in a logo without tracing?  This is the image what I achieved after tracing.  The same image after using path- simplify.
13095
How do I convert MapInfo TAB and/or MIF files to SHP using only free tools or ArcGIS itself?   I've not had much luck trying to do this in the past and I don't want to have to shell out for the ArcGIS Data Interoperability extension which seems to be the 'official' way to go about this.
124022
I want to export image to drive for my roi. For this i have specified a geometry(roi). But exported map doesn't cover the area specified and it's not showing the color palette. Is there any possible way to export a colored image (which shows in my layer) to Drive? Why it's not covering the region I have specified. Problem is in export.To.Drive section. But all the codes are given to check error that i did.  Code was:    var region = ee.FeatureCollection('users/karmakersourav/shape')   .filter(ee.Filter.eq('NAME_1', 'Chittagong'));   var addNDVI = function(image) {     var ndvi= image.normalizedDifference(['B4', 'B3']).rename('NDVI');     return image.addBands(ndvi);   };    var cloudMask = function(image) {     var clouds = ee.Algorithms.Landsat.simpleCloudScore(image).select(['cloud']);     return image.updateMask(clouds.lt(25));   };   // Select the land mask.   var landMask = function(image) {   var datamask = hansenImage.select('datamask');   // Create a binary mask.   var mask = datamask.eq(1);   return image.updateMask(mask);   };     // Load a Landsat collection, apply the NDVI and cloud/water masking functions over it.   var collection1 = ee.ImageCollection('LANDSAT/LE07/C01/T1_RT_TOA')     .filterBounds(region)     .filterDate('2008-01-01','2008-12-31')     .map(addNDVI)     .map(cloudMask)     .map(landMask)     .select('NDVI') ;   print(collection1);     //reducer   var annualNDVI = collection1.reduce(ee.Reducer.median());   var region_NDVI = annualNDVI.reduceRegions({     collection: region,     reducer: ee.Reducer.median(),     scale: 30 // the resolution of the dataset   });     var ndviParams = {min: -1, max: 1, palette: ['blue', 'white','green']};   var boundParams = {palette: ['black']};   Map.addLayer(annualNDVI.clip(region), ndviParams, 'NDVI', 1);    Map.addLayer(region, boundParams, 'LA', 1);    //here's the problem  Export.image.toDrive({    image: annualNDVI,    description: 'CTG_NDVi',    scale: 30,    region: roi,    fileFormat: 'GeoTIFF',    maxPixels: 1e12,    formatOptions: {       cloudOptimized: true     }   });     My imports was:  var image = ee.Image("UMD/hansen/global_forest_change_2015_v1_3"),       region = ee.FeatureCollection("users/karmakersourav/shape"),       hansenImage = ee.Image("UMD/hansen/global_forest_change_2015"),       roi = /* color: #98ff00 */ee.Geometry.Polygon(           [[[91.26571433292804, 22.382447200369512],           [91.70516745792804, 22.24015355729955],           [91.81503073917804, 21.50608889294255],           [91.99081198917804, 21.158146277513005],           [92.36434714542804, 20.74775339022756],           [92.38631980167804, 21.362918378188724],           [92.68868864595584, 21.285515736407884],           [92.66671598970584, 22.12251851402064],           [92.42501677095584, 22.964696114885136],           [92.43600309908084, 23.237540932485988],           [92.31515348970584, 23.620600408965007],           [92.21627653658084, 23.781555321668222],           [92.04049528658084, 23.691042604440895],           [91.90865934908084, 23.731278240693108],           [91.89767302095584, 23.47960242153599],           [91.75485075533084, 23.28800680321665],           [91.77682341158084, 23.08602889002461],           [91.61202848970584, 22.99503954262493],           [91.46920622408084, 23.277915158047364],           [91.34835661470584, 23.308187798303887],           [91.22750700533084, 23.600467103459394],           [91.28243864595584, 23.872005072934794],           [91.32638395845584, 24.082808607079368],           [91.24947966158084, 24.263221977268092],           [91.06271208345584, 24.223152164577193],           [90.73312223970584, 23.88205115062075],           [90.63424528658084, 23.660857737733508],           [90.54635466158084, 23.328365731356676],           [90.65621794283084, 22.83312931280329],           [90.98580778658084, 22.437667249990497],           [90.98580778658084, 22.071621721722586]]]);
117743
I would like to convert a shapefile to geojson using python window in arcmap. I did not find any python code to do so. any idea?  I want to import my shape in a leaflet map but since there are too many shapefiles I want to automate the process.
92214
Is it possible to load external wms services into ArcMap and publish them in ArcGIS Server?  I have tried this and get the error that the layer type is not supported.
60986
I wrote a script to create a big number of heat maps for a given scenario. I would like to save the result of every heat map as an PNG image. I have figured it out doing it with simple Map Rendering but the quality of the result is too low. Furthermore I would like to export to OpenLayers using the same code, which does not seem to be possible with simple rendering.   Now I am trying to do it with QgsComposition instead. Manually in the Map Composer you can just set the paper color to transparent and disable the background of the map canvas.   This is the code that I have so far. I just cannot figure out why it is not working. The result png-file always has a white opaque background.   My OS is Windows 7 and I'm using QGIS 2.6 Brighton.  I hope someone can help me out here.  # PARAMETERS mainPath = 'path/to/folder/' filename = 'filename' imageType = "png" imageWidth_mm = 400 imageHeight_mm = 160 dpi = 300  mapRenderer = iface.mapCanvas().mapRenderer()  c = QgsComposition(mapRenderer) c.setPlotStyle(QgsComposition.Print)  c.setPaperSize(400, 160)  x, y = 0, 0 w, h = c.paperWidth(), c.paperHeight() composerMap = QgsComposerMap(c, x ,y, w, h) c.addItem(composerMap)  # get all items and disable the backgrounds itemList = c.items() c.removeItem(itemList[2]) c.removeItem(itemList[2]) itemList[2].setBackgroundEnabled(False) itemList[3].setBackgroundEnabled(False) # add them to the composition c.addItem(itemList[2]) c.addItem(itemList[3])  c.refreshItems() c.refreshDataDefinedProperty(QgsComposerObject.AllProperties)  c.setPrintResolution(dpi) dpmm = dpi / 25.4 width = int(dpmm * c.paperWidth()) height = int(dpmm * c.paperHeight())  # create output image and initialize it # image = QImage(QSize(width, height), QImage.Format_ARGB32) image = QImage(QSize(width, height), QImage.Format_ARGB32_Premultiplied) image.setDotsPerMeterX(dpmm * 1000) image.setDotsPerMeterY(dpmm * 1000) #image.fill(0)  imagePainter = QPainter(image)  # This part does not seem to have any effect #brush = QBrush(Qt.BrushStyle(0)) # transparent brush # #imagePainter.setBackgroundMode(0) #c.setBackgroundBrush(brush)  c.renderPage( imagePainter, 0 ) imagePainter.end()   imageFilename =  mainPath + filename + '.' + imageType image.save(imageFilename, imageType) print 'image saved' print 'done'
85520
Alright I actually did this successfully a few months back following these steps .    Now when I bring the map into Avenza, I get a "Map Not Referenced"  Now I have no clue what I am doing wrong.  I have tried and tried.  I have unistalled and reinstalled.  Tried to export as image then convert format.    A strange thing to note, I can not select reference map under Print Composer-> Export Settings -> Reference Map.
58476
All of the most powerful texturing applications require a color ID map (Substance Designer, Substance Painter, Quixel DDO). I've been using a Maya plugin called Nightshade Blockout to export color maps for use in these programs. Nightshade may be one of the most-used plugins for texture artists abroad, simply because it's referred and linked by those giants.      I would hope it's as simple as assigning a material color and baking the texture, but it's safe to assume such a map wouldn't come with edge padding (extending the boundaries of each color island by a certain number of pixels, to hide seams during the texturing process).   If there is a Blender workflow/plugin for this, I would love to know about it!  Thanks for reading,  Allen
75867
Is there a way to trim a geo-referenced air photo to an irregularly shaped boundary?    I tried the clip tool shown in my attachment, but it didn't work.  It looks as though the output extent field requires a rectangularly shaped polygon as the clipping feature.    Can I even do this in ArcView?    I've never had a request to do anything like this before.        I do use Photoshop and other similar software packages.  I could just go in to an environment like this &amp; start painting everything outside of my boundary in white, but then I would have to come back in and geo-reference the image again, and it just strikes me that there must be a faster and easier way (even though I only have ArcView 9.3).
121500
I am having trouble exporting my map that has the same quality in the inset.  The lines come out blurry.    You can see a big difference between the quality.  Any ideas?
24338
The attached screenshot of a National Geographic map shows some beautiful directional shading of boundaries.  I'm trying to reproduce this sort of shading for a burn perimeter map, as I want to highlight features within the burn perimeter and not overshadow them with a transparent polygon or crosshatch.  Is there a way to accomplish this sort of boundary shading using ArcGIS 10?  Link to  titled: "1946 Political Subdivisions Of India By National Geographic.jpg"