New answers tagged

0

Don't think you could do this directly through the modeler but you could create a custom script which, when run can simulate a model, allows you to fetch the name of the layer and use it for processing. The following script uses the Field Calculator tool which creates a new field with the layer name and populates the values with the layer name (the python ...


0

I believe that your issue has to do with a known bug that reorders the position of the interactivity columns in custom infowindows. Perhaps the bug is just affecting one of the layers. I recommend to take a look at my response here: Cartodb image header doesn't show up after publishing the map I took a look at your interactivity data for your layers and ...


4

With the next release QGIS 2.14 this will be fixed. If you have python knowledge, it should be straightforward to port the code linked to above to a small python snippet that copies joins and virtual fields from one layer to another. Please note that this is not a bug tracker and instead you should raise the awareness on the issue page you linked to, on ...


1

You are receiving this error for the reason @crmackey provided in a comment: ListLayers is a function, not a class method. You have to pass in a MapDocument into ListLayers. His comment is based on you using ArcPy with the ArcGIS 10.x architecture. On the other hand you are reading documentation from ArcGIS Pro and appear to be assuming that the ...


0

This is my config... Not loaded layers


0

I want this On the map viewer, default the layers are loaded, How do it?? I try this on settings geonetwork: REST: 192.168.11.82:8080/geoserver/rest User: admin Password: ******** Workspace: Historicos -- Url: I confussed? I Put several urls, but not work, which url colocate here?? WMS: 192.168.11.82:8080/geoserver/wms Please, help me....


3

A possible workaround would be to add an empty memory layer in your project which acts as a placeholder for your large point dataset. This memory layer is saved, alongside any styles etc. that you typically applied, and as it is empty, will load immediately when you open your project. You can use the following in the Python Console to create a simple point ...


1

I'm not an Arc user, but the function you're interested is a statistics calculator for your raster file. Depending on the output you need, you could either use an ArcMap/Catalog tool to view a histogram of your raster data, or you could perform some functions to export several statistical fields determined from your raster. The ArcGIS website has several ...


2

I think you just need to read the esri help file on ListLayers so you understand what it is actually being returned. This is the link. http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/listlayers.htm In particular, note how the layers are listed and how you can use the longName property of the layers to determine which layers belong to a ...


1

To test whether a layer or group layer returned by arcpy.mapping.ListLayers() is a layer or a group layer you can use the isGroupLayer property of a Layer object: Returns True if a layer is a group layer. For example, to progress your code you could try changing: for lyr in arcpy.mapping.ListLayers(mxd, "my_group_layer", df): group.append(lyr) ...


3

You just need to turn on map tips.


1

To hide a feature you can give it an invisible color with rgba(0,0,0,0) (the last value is the transparency value, 1.0 = opaque, 0 = fully transparent). var piky1=new L.geoJson(pol00,{ style: function (feature) { return { fillOpacity: 0.55, weight: 7, color: '#eff682' }; }, onEachFeature: ...


4

Metadata is one of those things that is generally seen as "well, I know I probably should, but, is it really worth the time...?". And the answer is, for most of us, at least the basic parts of it probably should be. There is a LOT of information that can be put into metadata, depending on what standard you're using. However, a lot of that may not be all ...


3

I've always learned/thought of metadata as "data about data". It is a way for additional descriptions to be included about items in ArcGIS. ESRI's provides this overview: When care is taken to provide good descriptions, you can find appropriate items with a search and evaluate which of the items in your search results is the correct one to use. In an ...


2

One workaround would be the following procedure: Turn off the visibility of the layer that you want to be queried in Google Earth (e.g. parcel) Use "Map to Kml" and make sure to check "Convert Vector to Raster". This will convert all of the visible layers to raster. When using this option, enter the "Map Scale Output" parameter carefully, so your scale ...


1

Are you trying to add another data layer with interactivity? That is the problem. There is just one possible interactivity layer on each map, so you would need to define both data layers as sublayers. Then you could use a second infowindow template for each one. Given that you are using createVisto build your map, you could add a second layer in the CartoDB ...


1

right click on your layer and chose "make permanent" (with geostat analyst) or "export data"


1

I don't think it works perfectly in qgis2web yet, but you could create a layer group in QGIS and put your two layers into that. As I say, I don't think qgis2web group export works very well yet - I'd try OL3 export rather than Leaflet. See what happens, and report any bugs at https://github.com/tomchadwin/qgis2web/issues. This means you will still see both ...


0

I think your error is mainly in path formatting and string handling. Try this: import arcpy import os arcpy.env.workspace = "C:\\folder_path" mxd = arcpy.mapping.MapDocument("C:\\file_path.mxd") df = arcpy.mapping.ListDataFrames(mxd,"*")[0] path = "C:\\file_path" rasterList = arcpy.ListRasters() for jpg in rasterList: # This sets a new path with ...


0

Modifying your script slightly, I had to add the path into the loop and add a save at the end: import arcpy arcpy.env.workspace = "C:\\FolderPath" mxd = arcpy.mapping.MapDocument("C:\\FolderPath\\Rasters.mxd") df = arcpy.mapping.ListDataFrames(mxd,"*")[0] rasterList = arcpy.ListRasters() for jpg in rasterList: path = "C:\\FolderPath\\" path += ...


1

I have some experience troubleshooting performance in GIS systems, including on citrix. Your problem can be anywhere and likely a combination of factors. Talk to your Esri rep for pointers. I recommend you read this:http://www.wiki.gis.com/wiki/index.php/Software_Performance#Use_MXDPerfStat_to_measure_display_complexity Labeling, using Feature cache and ...


1

I can confirm that this issue has been resolved in QGIS 2.12.2 where the opacity of the chosen colour is still remembered after restarting QGIS: Before restarting QGIS and setting opacity to 10% After restarting QGIS


6

I would first check out Best Practices Using Citrix XenApp and ArcGIS, a guide put together by ESRI. For a previous client, I went through quite a bit of performance troubleshooting with ESRI and our Citrix environment. Below are the highlights from those conversations: I'm assuming you are going to be making edits in a tight area (zoomed in pretty ...


9

I used to work in that exact same environment (the exact same one!). I have not done any benchmark testing but my sense of this is that number of layers in the project doesn't have much effect by itself. In my experience the labeling and number of features is a much bigger issue than the number of layers (especially if many are turned off). I used to have ...


2

First follow this tutorial to convert raster to vector in QGIS. http://manual.linfiniti.com/en/complete_analysis/raster_to_vector.html Next make selections on the shapefile, based on the attribute values of the countries. Finally export the selection.



Top 50 recent answers are included