Hot answers tagged

6

I added aerial imagery from GIS server and created fishnet over the area of interest: I use fishnet as index layer for my data driven pages, making sure the sorting order coincides with record order in fishnet table. I applied script (see below) to travel through pages, export them to temp raster, clip it to PNG raster named after page name. Result shows ...


4

It seems a known issue, and there is a solution for that. Check Bug: Picture symbol legend patches, there are some instructions on how to solve this issue from ESRI help.


3

The only thing that would change the size of the PNG by that magnitude, assuming your DPI has always been 220, and the vectors are generally similar, would be the page size being larger. 1-4MB is typical for an 8.5"x11" paper, but something larger like 14" x 22" could conceivably generate a PNG around 20MB. If the page size is the same, then I'd try out the ...


2

The easiest way to get OpenStreetMap extracts would probably be through Mapzen's Metro Extracts tool here I would suggest exporting it in GeoJSON, then using a tool like ogr2gre (there's an online version here) to convert it to KML. You may also be interested in looking at Overpass Turbo for exporting data from OpenStreetMap.


2

In order to solve this question, we need to use timers or something that delays the execution of the script, so the canvas can reflect the layer arrangement at the time the map is exported. In other words, if you don't use timers you'll end up with 3 PNG images with the same content because everything will happen too fast. In the QGIS map, set the map ...


2

The best way to get boundaries of countries, provinces and regions is to use the OSM Boundaries application: https://osm.wno-edv-service.de/boundaries/ Extracting boundaries from generic tools like Overpass Turbo is not always easy, as the boundaries may contain errors and are likely complex multipolygons consisting of many parts. The OSM Boundaries ...


1

Download administrative boundaries of the spain and portugal from in .shp format from http://www.gadm.org/ you can import the shapefiles into QGIS or another software the filter with query builder to isolate the regions you are interested in QGIS you can install openlayer plugin from the vectors tab select- openstreetmap then select download data points, ...


1

You could download data directly from Openstreetmap as .osm file, and convert it in QGIS as .kml, since QGIS supports export data as .kml. Alternatively, you could download data from Geofabrik (also openstreeet map data, but country by country, as .gbd/mdb, and in ArcMap, export it as .kml. Also, I would suggest you to use, if you have, shapefiles od Spain ...


1

I ended with the same result months before and I could not found a solution using IPrintAndExport. I would recommend to use theIExportdirectly. Please have a look at the following ExportActiveView function in this example in VBA or this post to a different topic with an example in C#. This works without problems in my case. You can simply exchange the ...


1

As Joseph has asked, most likely some of your field names between the two layers do not match. When doing feature copy and paste the field names and order must be exact for attributes to populate correctly. Here are a few options to remedy this: Create the missing fields in the destination table in the order they exist in the other layer/table Perform a ...


1

I think you can make this raster dataset to export it into other formats like image formats (.tif,.png,.sid) and then, you can add all these images into mosaic dataset and run "manage tile cache" to use as like base map or backfill layer.


1

You can use GrassGis which is installed alongside with Qgis. There is the tool r.in.wms which will do the work. It is in the background creating a textfile with the GetMap queries and replaces the extent for each tile. So you set it up with the correct region, the size of the tiles you want to have, the imagetype (depending what the wms offers) and thats ...


1

This actually doesn't require scripting. You can use print composer and atlas serial printing for that. It allows to iterate both over geographical features or also over layers or visibility preset groups. See http://www.qgis.org/en/site/forusers/visualchangelog212/index.html#feature-data-defined-control-over-map-layers-and-style-presets for more details.


1

Did you try to export your .xls file to dBase Table then join and export. This should work by my experience.


1

I have problems with Excel all the time, hate it! Convert your Excel file into a table (dbf or geodatabase table) Now check that table looks OK, right number of rows/correct field names Do your join with this new table and export that.


1

Transparency of the layer also affects the size of the PDF considerably. I suggest use transparency to a minimum, or avoid it if you can.



Only top voted, non community-wiki answers of a minimum length are eligible