Tag Info

New answers tagged

0

You can't using only OpenLayers 3 (I would be happy to learn how if not). The image you get in the demo is the one you get by exporting the map Canvas element in the DOM. Your pop-up is part of the DOM so outside the Canvas hence the exported image. Providing HTML element in the Canvas does not seem possible ...


0

Probably in your table there are more than one type of geometry but, in a shape file, you must have only a type (Line, Polygon or Point). When you split lines the result could be not only a line but a point ( or multi). Use st_geometrytype(geom) for analyze what you have in your table. If you only need lines, you have just to delete what is not a linestring: ...


2

The plugin layer has no functionality to export to an image file. Instead, you can save map canvas image (File - Save as Image. A world file is outputted together), and then convert the image to GeoTIFF with the Translate (Convert format) tool of GDALTools. In the tool dialog, the target SRS field should be filled with the CRS of your map (EPSG:27039).


1

I do not believe there is a tool or function that allows you to export a table with reordered fields. If anyone knows better please enlighten me! I've always felt it has been a bit of a limitation that the geo-processing tools do not honour the reordered fields. Especially the conversion tools . In the past I had attempted to create a tool that did it. The ...


2

You might notice that when you manually change between Data View and Layout view, the scale changes. I would suggest changing to Layout view before you set the scale i.e. something like: mxd.activeView='PAGE_LAYOUT' df.zoomToSelectedFeatures(); df.scale = 2400.0


0

If you have the option it is much quicker to export to png and then drop the png into Adobe Acrobat and convert from there.


0

I bump this post. The answer given by Moshii works only if you use a custom version of OpenLayers (the same as here), because in a standard version of OpenLayers 2 such as 2.13, the ONECANVASPERLAYER does not exist in OpenLayers.Layer.Grid, same for useCanvas. The possibility of using canvas for WMS Layer was actually an experimentation as you can read ...


1

What you need is a general GDAL config option "SQLITE_LIST_ALL_TABLES" You can test what effect it has by comparing these two commands: ogrinfo db.sqlite ogrinfo db.sqlite --config SQLITE_LIST_ALL_TABLES yes The "list all tables" option is listing also such metadata tables which you for sure do not want to export and therefore it is better to explicitly ...


1

If you want to use time data with the time-related tools in ArcGIS like the Time Slider and animation tools, you need to store your time values differently. Creating one feature per site and adding a new field for each week's data at that site won't work. Instead, you will need to create one new feature for each site for every week. So you will have one ...



Top 50 recent answers are included