Tag Info

New answers tagged

0

Perhaps the calculator is your answer. From "Raster-Raster Calculator" you can create new layers from others. For the the intersection you can use the "AND".


1

This way it worked fine for me: Try to get symbology in a separate line?


2

UK Met Office use this cloud cover layer. http://www.metoffice.gov.uk/datapoint/product/cloud-cover-forecast-map-layer If you sign up to datapoint you can get archive data (which you are after) https://register.metoffice.gov.uk/WaveRegistrationClient/public/register.do?service=datapoint (Note: some are not free services but most are) API feeds (& ...


2

Activate your layer in the ToC and try this in the QGIS Python console: layer = iface.activeLayer() layer.setCustomProperty("labeling", "pal") layer.setCustomProperty("labeling/enabled", "true") layer.setCustomProperty("labeling/fontFamily", "Arial") layer.setCustomProperty("labeling/fontSize", "10") layer.setCustomProperty("labeling/fieldName", "ename") ...


3

Append may be what you are looking for. You should be able to select the polygon you want to move from the yellow layer and append it to the existing red layer.


1

There is typo in your url http:localhost:8080/geoserver/wms?request=GetCapabilities should be http://localhost:8080/geoserver/wms?request=GetCapabilities You can basic auth to make the requests http://user:password@localhost:8080/geoserver/wms?request=GetCapabilities


0

Looking at the documentation, there are minZoom and maxZoom options available mapboxgl.Map object. Set these to 9 and 13 respectively and users won't be able to zoom beyond these points. As for skipping zoom 10 and 12, you could listen to the zoom event, test whether the new zoom is 10 or 12, and force the map to skip to the next zoom. (I'm not sure what ...


0

It was my fault. The source data wasn't in the CRS I was working.


1

You should refer to the layer (lyr), not to "plan" when applying the symbology: arcpy.ApplySymbologyFromLayer_management(lyr, symbologyLayer) "plan" is just a string so arcpy tries to locate it in your predefined workspace.


0

Not really sure from your question how exaclty you wish to do this (or if you have a preference). However; to do this in a web app with javascript: var formatter = new OpenLayers.Format.WMSCapabilities(); var endpoint = "path/to/wms/endpoint"; var layers = []; // async call to geoserver (I'm using angular) ...


2

Nick Ochoski is right about the SearchCursor, but there is a cleaner way to use it WITHOUT a while and manually calling next: import arcpy fc = "c:/data/base.gdb/roads" field = "StreetName" cursor = arcpy.SearchCursor(fc) for row in cursor: print(row.getValue(field))


2

For doing so, you need to i) remove the layer from the ToC, ii) rename the files that conform the Shapefile (i.e., shp, dbf, shx, prj, and the like), and iii) load the renamed layer to QGIS. If you look at it, it's similar to what the Table Manager plugin does. So, I adapted such code to rename Shapefiles, you can download it from here. You can run it this ...


0

The solution is to add a dummy layer. We can create a "fake" feature layer from JSON to trick the map into the desired projection. This feature layer should have the target spatial reference. var layerDefinition = { "extent": { "xmin": 0, "ymin": 0, "xmax": 0, "ymax": 0, ...


1

If I got you right, load your Shapefile to QGIS and then use the Table Manager plugin to order the Shapefile fields as you want. Finally, click on Save.


1

You should find your solution at Here that says The above message shows not only when a feature cannot be digitized because it would be removed because of the "avoid intersection" option.It shows also when digitizing a polygon adjacent to another one that has errors. This message is very misleading in this cases. The user should be warned that the ...



Top 50 recent answers are included