Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [data-source]

Use for questions about how data is used as the source of a layer. For questions about the data itself use the [data] tag and/or ask at the Open Data Stack Exchange instead.

0
votes
0answers
29 views

Max zoom for OpenLayers 3 WMS source

I have a WMS source which is rendering tiles up to zoom level 19 but levels 18 and 19 render as a white tile with a message saying something like “there is no info in this area”. I’d like to limit the ...
0
votes
0answers
23 views

Change datasource of layer file object (outside of mxd) to source on SDE

I am creating a number of layer object files outside of an MXD document (the layer is being copied from a separate layer object file outside of an MXD) and attempting to loop through each new lyr ...
3
votes
1answer
26 views

Setting ArcMap Data Source Refresh Interval?

In ArcGIS Online there is an option to set a refresh data interval. Is there a way to accomplish the same within ArcMap? Specifically, my data source is inside an Enterprise GDB (Oracle). I can ...
0
votes
0answers
12 views

Update multiple layer file source paths and metadata xmls with arcpy

I have a directory holding multiple layer files with sources in an associated SDE as Feature Classes. I am attempting to, for each of the layers in my directory, change the layer's source path from ...
1
vote
1answer
28 views

Changing txt layer Data Source in QGIS only using Python console?

I want to change the data source of a layer (non geometric, just a table of fields) created from a .txt file. I know how to do it manually but I want to do it with the Python console. I have tried the ...
1
vote
1answer
77 views

Shapefiles source set-up everytime in mxd ArcMap project?

I have a folder where there is an (mxd file + another folder containing some shapefiles I work on). I am exchanging this folder with a group of users. We work together on a project, and everytime a ...
1
vote
1answer
83 views

Seeking ArcGIS Pro tool to batch change data sources?

ArcCatalog has a useful Set Data Source tool which allows for rapidly updating multiple data sources in a map document that have changed. Is there a similar functionality in ArcGIS Pro for project ...
0
votes
1answer
50 views

Using script to list .lyr files with broken links?

I would like to identify within a particular folder the .lyr files that have broken links. Some of these files are within multiple folders but all fall within one folder. My programming knowledge is ...
0
votes
0answers
23 views

Road Network Shapefile With 'Road To' and 'Road From' attributes

I need a road network shapefile of Australian Suburbs with 'road to' and 'road from 'attributes. Can someone name the data source ?
1
vote
1answer
50 views

Showing OSM source acknowledgment on the map in QGIS?

I am using OpenStreetMap as a base layer via XYZ tiles in QGIS 3.01. I can't seem to find a way of having source acknowledgement appear on the lower right corner of the map. Can somebody point me in ...
0
votes
1answer
37 views

Find and replace image path

I have multiple mxd's with many company logos as jpg's. We've moved the location of the logos from the F:\ drive to the C:\ drive. I have a script that is supposed to change the path, but not sure ...
3
votes
3answers
43 views

What are the sources for old (1998 or earlier) satellite or aerial photos of the (southern) Netherlands?

Our municipality says that our garden is too big, according too the cadastre. If we can prove the situation has been already there for twenty years, then they won't charge us for the extra space our ...
5
votes
2answers
197 views

How to Change Vector Datasource in QGIS 3.2.0?

QGIS 2.18 has a very good function Change Vector Datasource: In QGIS 3.2.0 there is Update SQL layer but it doesn't work like Change Vector Datasource. When I open it, select and do update, it acts ...
1
vote
1answer
37 views

Facing null ITable with ArcObjects?

Recently this community helped me to get a list of the tables from an MXD file: IMapDocument mapDoc = new MapDocument(); mapDoc.Open("C://mymxd.mxd"); IActiveView act = mapDoc.ActiveView; IMap map = ...
0
votes
1answer
143 views

List all layers in MXD and whether or not it is broken

I have a script that lists all layers in an MXD and I have a script that lists all broken layers in an MXD (http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/listbrokendatasources.htm). I ...
1
vote
1answer
40 views

Fixing data source of same layer in multiple MXDs? [closed]

I have this one specific layer in a bunch of mxd files with a broken data source. I am working on a script to automate fixing the data source. I am having trouble getting it to loop through a folder ...
2
votes
1answer
52 views

GeoServer: Creating a datastore with spaces in the path

I am using the GeoServer REST API to create a datastore. The path that I am using has a space in it. This does not seem to work well in GeoServer 2.11.2 since it generates an "Input type is not ...
1
vote
1answer
103 views

Update feature class' data via Python Script Tool without removing layer from .mxd?

I have an mxd with 20+ Feature Classes all with varying degrees of 'formatting' (i.e. most are organized in groups, some are filtered with definition queries, and all have their own unique symbologies)...
1
vote
0answers
29 views

Writing custom data-source or plugin to load Google My Maps data into QGIS [closed]

My goal is quite straightforward: display maps created and mantained in Google My Maps as a layer in QGIS. The way I thought about doing this is the following: Write a Python script that acts as ...
1
vote
1answer
126 views

Changing Layer DataSource using ArcObjects?

I want to change data source information of a layer. Lets say I have a MXD file in dev env configured with dev environment datasource details like server,database,username,password and I want to use ...
0
votes
0answers
46 views

replaceDataSource issue when iterating through a loop for multiple map documents

Trying to update data sources across multiple map documents. The first iteration works but fails on the second no mater the order. The input csv is the output from another script that lists unique ...
0
votes
1answer
220 views

Getting data source of Feature Layer object in Python script tool?

I am writing a script tool to update some records. I am wanting to use a feature layer as input, to maintain definition queries, selections, etc. I would like to get the data source of the input ...
0
votes
1answer
132 views

python Get current workspace and then re-source to new SDE

I am trying to write some code that will get the current workspace name and if it matches a particular datasource path, it will re-path the SDE layers to the new database. Initially I had the code ...
0
votes
2answers
349 views

Trouble using XYZ Tiles in QGIS 3 on Mac

I am trying to load background map from OSM and having problems. The data source browser->XYZ Tile comes 'pre loaded' with a link for standard OSM and this works fine. When I try to add a new source ...
2
votes
1answer
485 views

Change data source encoding in QGIS 3.0.x?

Changing Data source encoding through layer Properties worked well for me until version 3.0.x - now, the field is grayed out and shows only UTF-8. Our Data sources are quite mixed and I get spades, ...
1
vote
0answers
62 views

Which format to display the gsmap downloaded data in QGIS?

Where can I download gsmap data especially for precipitation / rainfall and which format can be supported by QGIS software?
4
votes
1answer
199 views

ASCII-data source is not supported

I am using QGIS 2.18.15. I got some trouble to add an asc-file as a raster layer into QGIS. I tried to add the raster layer the normal way via the tool bar bottom. It did not work. (“The file source ...
3
votes
1answer
95 views

Number of Eastern Africa countries [closed]

Are Rwanda and Burundi part of "Eastern Africa countries" or "East African countries". Some sources are differing.
0
votes
1answer
55 views

Using Python to input datasource of layer into table field

I am using a bit of Python code to create an attribute table field and then I want to populate that field with the layer's datasource. I have been using addField management and then calculateField ...
1
vote
0answers
661 views

QGIS 2.18, gives Invalid Data source

Using QGIS 2.18.14, add vector layer, open a shapefile, gives: Invalid Data Source: FILE.shp is not a valid or recognized data source This FILE.shp was OK on QGIS 2.12. Same result for other .shp ...
1
vote
1answer
255 views

Openlayers features clear method

I want to clear the features in a vector layer source , I have tried features.getFeatures().clear(); but it doesn't work!
2
votes
1answer
713 views

Switching data source of layer to new feature class using ArcPy with ArcGIS Pro 2.0?

A common ArcPy coding pattern that I used with ArcGIS Pro 1.4 (and earlier) no longer works at ArcGIS Pro 2.0. I have an ArcGIS Pro project with one map called Map, and that map has one layer called ...
2
votes
1answer
155 views

How to fix broken QGIS project when folders structure has changed

The folder structures for our network was changed the middle of the night without consulting me. Usually if a shapefile moves location, QGIS will bring up a broken layers dialogue box for me to fix. ...
0
votes
1answer
178 views

OpenLayers 4 server data not displaying but same file data displays

I am brand new to openLayers, got several Examples from the site working OK but now I am stuck when trying to switch from static file source to server (database) source. I am using ver 4.0.1 My ...
0
votes
1answer
908 views

Getting findAndReplaceWorkspacePaths to work?

I am copying and pasting a gdb and an mxd into new folders using arcpy. I then want to change the data sources of the layers in the mxd to point to the new version of the gdb instead of the old one. ...
1
vote
1answer
75 views

Fixing broken path for renamed feature class in multiple .mxd's?

I have read up on the ESRI technical article here. Basically I had a corrupt feature class that I rebuilt from a backup and renamed. As I created more .mxd's with this renamed feature class, all ....
1
vote
1answer
311 views

How can I change the Datastore of a Published Layer in Geoserver?

I have Published a Layer on Geoserver using Shapefile as the datastore. This data has now been stored in a PostGIS database as a Spatial Table. This PostGIS database has been added a new DataSource. ...
0
votes
0answers
48 views

Can a MapServer datasource be a materialized view?

I'd like to find out if there is a way that a datasource in MapServer can be a materialized view, this is due to the presence of indexes, these cannot be in views but only in materialized view - ...
1
vote
1answer
265 views

Opening location folder for data files using QGIS?

I am working in a corporation that publishes maps with ArcGIS but I use QGIS for working with data. I need to find the data files that show the information I want to publish and quickly send them via ...
2
votes
1answer
687 views

Listing Data sources using arcpy: ListLayers very slow

What I am trying to do is create a list of all the data sources in a directory filled with mxds. So I have this code pasted below. For some reason when listing layers it can take up to 50 minutes even ...
2
votes
0answers
561 views

Replacing data source of annotation feature classes using ArcPy?

I want to batch replace paths in a series of .mxd files using Python. Many of the layers have moved and in some cases the name has changed or its dataset is different. I've written this code which ...
25
votes
7answers
43k views

Changing data source for all layers in MXD?

I have an MXD. It connects to about 30 layers in one of our SDE databases. I want to change the SDE database they connect to. Is there a way to do this without having to right-click every layer ...