New answers tagged

0

You can the this link too. Here CSV files are being converted to either KML or Shapefile using js2shapefile. You can check the source code how it works. This is a working example.


0

To anyone who stumbles on this issue: I was receiving this error, but I'm having trouble reproducing it. My mxd file was on a network and used shp files on a network. I quit ArcMap, reopened it, and then tried ExportToPDF from an mxd on my C drive that referenced one shp file, also on my C drive. I was able to export a pdf to my C drive. From there, I added ...


0

I'll try to expand PolyGeo's answer in order for you to understand more easily: The script lines arcpy.GetParameterAsText() show that these code lines are normally run similarly to a tool from the ArcGIS toolbox. The script requires an "interface" where you enter the required parameters. You could substitute these lines with a path to your data, as in: ...


1

This script includes the following lines: allLayers = arcpy.GetParameterAsText(0) # Must be a multivalue in script tool params lyrList = allLayers.split(";") PNGPath = arcpy.GetParameterAsText(1) The arcpy.GetParameterAsText() functions are asking for two parameters from a tool dialog that you need to configure separately. They indicate that the script ...


2

Go into Studio > click on a layer > Select Data. You can see on the screenshot below that you can set zoom min/max per layer.


3

If there are really only four colors, then you can simply go into the layer's Symbology tab and group all of the same colors together into one symbol. That will leave you with 4 symbols. Just select all the legend entries you'd like to group together, right-click them, and select "Group Values" from the context menu: Or, if the colors vary slightly you can ...


0

This should help you to set your map extent : http://desktop.arcgis.com/en/arcmap/10.3/map/page-layouts/customizing-your-map-extent.htm


1

Use the highlighted tool for zooming your data inside your Layout.


0

If your needs are stepping up from simple viewer to managing maps across sessions you should either build your own, or look into something offering that functionality out of the box. MapStore 2 for example offers this functionality (among several others) and it's open source: http://geosolutions-it.github.io/MapStore2/ There are other projects building on ...


2

This is a common problem with tile layers in the print composer. The print composer tries to grab a higher resolution for better printing quality, however this is from different tile zoom level, delivering a different set of labels as well. You can make a screenshot with Save as Image, and load that instead of the tile layer to your canvas. But you will get ...


2

The default rendered for the Landsat services has DRA (Dynamic Range Adjustment) turned on. When exporting/printing multiple requests are made and each has a different stretch applied (hence the stripes). Go to the layer properties and use a stretch that uses the dataset statistics or define custom statistics. If using an image service go to Layer dialog, '...


0

Take a look at this page, I think the code provided in that page is similar to what you are trying to achieve. Once you are done with creating csv files or text files, you can merge them easily into one single file in python. From my personal experince, I would suggest you to stay away from excel as your columns can get truncated depending on whether you use ...


3

a. Remove the Borders You can try switching off the polygon borders which will remove the brown completely - at that scale it looks like your areas are too small to see anyway. You can make the polygon borderless by either setting the border colour to 'no color', or reducing the border width to 0. b. Increase the Output Resolution Depending on the ...


0

It worked for me. I used QGIS to produce a shp file from a geotiff from https://data.linz.govt.nz Then opened GDAL and put as per Nathan W above: ogr2ogr -f "dxf" C:\0GeoOUT\kane4.dxf C:\0GeoIN\contour.shp -zfield ELEV So I could understand it better on my system I set up input and output folders. I avoided spaces or periods in paths as I had failure (...


2

You need to move int hdc = exporter.StartExporting(); to AFTER you have set up the frame to be exported. int hdc = exporter.StartExporting(); actView.Output(hdc, (int)exporter.Resolution, ref rectangle, null, null); exporter.FinishExporting();


2

I found that for a successful dxf export you must not enable 'on the fly' reprojection in order to have a project crs different from the data. The project has to have the same crs as your data. cp this issue: QGIS 2.14.3 export PostGIS layer to dxf issue two tickets are on the way concerning the same issues: https://hub.qgis.org/issues/14940 https://hub....



Top 50 recent answers are included