We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [layers]

A layer is a collection of information. It contains specific elements of a gis in a specific presentation method (e.g raster or vector layer). Layers can be edited separately in order to create individual toppics for a map.

271 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
48 views

Add rasterlayer with defined symbology in ArcPy

I am trying to add a raster layer in ArcPy with arcpy.mapping.Layer(Raster). By default, the layer is added with "Stretched" symbology. However, for further use of the raster, I need "Unique Values" ...
0
votes
1answer
551 views

Creating layers depending on a property?

I have a .js file with coordinates for internships: var internships = [{ "features": [ {"type":"Feature","properties":{"category":"entretient","Name":"green"},"geometry":{"type":"Point","...
0
votes
0answers
208 views

Draw Polygon according to an external GeoJSON file (on a server)

I'm programming a map with OpenLayers (4.6.5) and I have a GeoJSON file stored on a server and I want to use it. This GeoJSON file represents Polygons. Before I was working with Points and all was ...
0
votes
0answers
104 views

Attribute Table is empty

I am trying to point all layers in MXD files to a different database server. Databse server is Oracle type. Most of the layers consist of views. After changing the datasource programatically for all ...
0
votes
0answers
120 views

Resetting Layer Extent in MXD file using ArcObjects and C#?

When I change data source properties of a layer using ArcObjects in C#, I lose the extent set for that layer. How can I reset the layer extent? Below is the code in which I am resetting database ...
0
votes
0answers
108 views

GDB layer not loading properly

Working in v10.3, I have a .gdb with two layers; a point layer and an annotation layer. The dataset was handed to me a few days ago, and I have been editing and adding points to the point layer daily. ...
0
votes
0answers
284 views

Leaflet overlay control will not hide ImageOverlay when it is disabled

I use leaflet 1.3.2 and i have a function that successfully creates a hash map of Overlay Layers from a Json file. JSON "overlay": [{ "name": "Manfredonia", "...
0
votes
0answers
45 views

Copying fields between two layers in ArcGIS Desktop?

I have this attribute table (part of the whole attribute table) from one layer: and this attribute table (part of the whole attribute table) from the second layer: I try copy the cells value in ...
0
votes
0answers
288 views

How to edit layers in layered PDF?

I was wondering whether it is possible for a layered PDF created by MapInfo to hide the label of a layer in the layer list of the PDF, to prevent the user from altering the visibility of the layer, ...
0
votes
0answers
210 views

Getting Symbology Colors from a Layer File with ArcPy

I would like to use ArcPy to extract the symbology colors used in a .lyr and export to a spreadsheet (like csv or dbf). Specifically, I want to be able to export RGB (and both CMYK and HSV) values. ...
0
votes
0answers
230 views

Clear/refresh table of contents in Geoprocessing tools

I'm building a Python toolbox and when I run one of my tools, I noticed that the table of contents doesn't update itself in the drop down list of my Python tool. As you can see in the image below, ...
0
votes
0answers
1k views

How to merge multiple GeoPackage files into one file with a single layer using ogr2ogr?

I'm using ogr2ogr in a bash script to merge multiple gpkg files. What I'm doing basically looks like this: ogr2ogr -f 'gpkg' -append merged.gpkg input_file_1.gpkg ogr2ogr -f 'gpkg' -append merged....
0
votes
0answers
28 views

Doubt on contour map on top of an ortophoto

I created a contour map layer on top of an ortophoto map using QGIS, and noticed that the two layers do not overlap perfectly and wonder if this is normal. What happens, is that the contour lines seem ...
0
votes
1answer
83 views

CartoDB - Non-animated heatmap, but won't let me layer under

I have a simple heatmap layer that is not animated. I want to move a choropleth layer above that heatmap layer, but Carto will not let me, as it thinks my Heatmap layer is animated. Is there any way ...
0
votes
0answers
121 views

ILayerFile.Open - The maximum record length has been exceeded

I have been able to use ILayerFile layerFile = new LayerFileClass(); layerFile.Open(layerFilePath); with out any problems until it just started giving me an error. Error: -2147220646 ...
0
votes
0answers
515 views

Display Leaflet WMS Layers from same source on different panes

I am using the Leaflet WMS plugin to add in layers to my map via a WMS. I have the following code below that adds all of the layers using the same source but as separate layers. However, I want to ...
0
votes
0answers
292 views

What is corrupting my layer file?

I'm trying to save layer files from a colleague's mxd. As usual I right clicked on the layer and saved as layer file. Simple - but no - the layer files can't be opened. I get this message "Adding ...
0
votes
0answers
76 views

PRACH data plotted in a better way but not completely

I am close to finishing the visualization of PRACH in MapInfo. Here's my output so far (for 4 counters) Unfortunately, for some sectors it is not working as it should be. Can you please help out? ...
0
votes
0answers
251 views

Missing Raster/Vector Layers after converting KMZ using KMLToLayer tool of ArcGIS Desktop?

I am trying to write a tool that will let users upload a KML/KMZ file and then be able to view it in a client application (something like an esri js api or Flex app). I am ok with storing the data in ...
0
votes
0answers
428 views

OpenLayers Vector Features with common properties in multiple Layers

I am trying to manage features across different layers. Features are displaying weather parameters at some points on the map. Hence there is a wind layer, a temperature layer, etc. which all are ...
0
votes
0answers
178 views

Geoserver 2.4.0 via the web admin interface, not adding layers in Internet Explorer, but working in Firefox

For some reason I cannot seem to add layers via Internet Explorer, but I can via Firefox 23. In addition the styles that I upload also appear broken in Internet Explorer 8, but do not in Firefox. Is ...