The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [workspace]

The location on a hard drive, network, or other media in which an analysis operation or processing task is conducted. It can often be set as a folder on a physical drive or in the local computer memory. It is this location the GIS software will often use to perform and output tasks unless otherwise specified.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Unsuccessful migration of my_worspace from GeoServer 15.2 to GeoServer 16.0

What I have to do for migration of my workspace from one GeoServer to another (from 15.2 on server#1 to 16.2 on server#2)? What I do: -replace directory tomcat/webapps/geoserver/data/my_workspace_dir -...
3
votes
1answer
53 views

Storing points from multiple GDBs as object

I often download data that comes in 30 minutes to 1-hour windows and then have to compile that data manually into one feature class, from multiple GDBs. I am trying to iterate through the separate ...
0
votes
0answers
26 views

WFS layer/attribute without Workspace

I need an solution for the name and attributes from a layer without the Name of the Workspace. Currently each layer and every attribute of the layer has the syntax: workspace: layername or workspace: ...
1
vote
1answer
32 views

Iterating through 2 different Geodatabases at same time using ArcPy?

I have 2 gdb's; one that contains a polygon feature class of census blocks(cb), and one that contains centroids that may lie within those census blocks. They are organized by state. Ex: FL_cb = ...
1
vote
1answer
145 views

How to delete temporal files from geoprocess tools using Python ArcPy?, ArcMap10, ArcGis

As is not possible formulate, or add a solution to question: Delete temporary files from geoprocessing in ArcGIS 10 and above , because is [closed] I would like to make this question with same ...
0
votes
0answers
111 views

Why does opening SDE Workspace Factory ask for credentials again? ArcObjects C#

I'm trying to open SDE Workspace Factory using IWorkspaceFactory.Open I give the complete Property set in the code to open. ESRI.ArcGIS.esriSystem.IPropertySet propertySet = new ESRI.ArcGIS....
2
votes
1answer
167 views

Accessing Home directory of ArcMap using ArcPy?

I want to access to a directory and set that as a arcpy.env.workspace in my Python Script Tool. However, this workspace depends on users so I cannot just use my own folders. Is there a way to access ...
3
votes
2answers
107 views

Split By Attributes tool not recognizing Feature Dataset as Target Workspace?

Using ArcGIS Desktop 10.5.1, I have a FGDB that contains a feature dataset. I would like the output from the "Split By Attributes" tool to go inside this feature dataset. However, the tool does not ...
1
vote
1answer
31 views

Deleting shapefiles and rasters using arcpy

I am trying to delete a series of files from a gdb and I am encountering suprising difficulties doing so. When I test my procedure in one of the files, let's call it 'yy.shp'This is what I do: from ...
0
votes
1answer
363 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 ...
2
votes
0answers
78 views

TableView has no workspacePath in ArcPy?

One of my colleagues is running a script which includes the following Python in ArcMap... oTble = arcpy.mapping.TableView(tbleName) Workspace = oTble.workspacePath print "oTble: '{}'".format(oTble) ...
1
vote
2answers
64 views

Conversion of workspace to ordinary .tab

Does anyone know a way for converting a wokspace (*wor., *.mvs) to an ordinary MapInfo table (.tab)? I have worked in workspace with a high number of GPS-field registrations. I have made changes (...
2
votes
0answers
250 views

Using ArcGIS workspace defined as version in ArcPy?

I am trying to define my workspace as the current version that I am connected to. The Python tool that I am running utilizes the arcpy.da.Editor() function, and I used a workspace variable that is ...
2
votes
3answers
1k views

Error when path contain spaces - Arcpy Integrate

I'm using a simple script to run Integrate tool in a default gdb and feature class, where user can indicate the path where this gdb is located. This script works well when path indicated by user don'...
5
votes
1answer
139 views

ArcObjects Convert GxDialog to Workspace

ArcGIS 10.1 with VB2010 I am using the GxDialog to get the users option to save a feature class. The target can be a shapefile, geodatabase, or Dataset inside a geodatabase. I can’t wrap my head ...
0
votes
1answer
286 views

MakeRouteEventLayer_lr Vs Display Route Events

I've two script tools. The first one prepares data for the second script to work. The first tool routes a table along a line using MakeRouteEventLayer_lr. The second script tool reads the selection ...
2
votes
2answers
244 views

Persistence in QGIS under Oracle workspace

I'm using QGIS 2.18.9 to edit my spatial data, my data is saved in Oracle's database. When I'm editing a spatial layer I can create, edit and delete features without problems, but my database needs ...
1
vote
1answer
75 views

Arcpy ListDatasets function to specific directories instead of workspace [duplicate]

Are there any alternatives to the arcpy list functions (ListDatasets, etc.) where the directory can be specified rather than using the env.workspace? For example, what if I would like to get a list ...
1
vote
1answer
129 views

How disable login prompt when asking for featuretypes?

Is it possible somehow disable login prompt when requesting http://xxxxxxxx/geoserver/rest/workspaces/WORKSPACE_NAME/featuretypes.json?
2
votes
2answers
2k views

Set workspace to SDE version using ArcPy?

My company uses a versioned SDE database to perform edits, update features, etc. I am working on a script that would inevitably update features and would like to set the environment to a specific ...
2
votes
1answer
110 views

FME Tester, Value does not equal

I have a workspace where I am writer multiple databases to a new file geodatabase with many tables. If there is a spelling error in a value I do not want it to go through. The issue is I have about 20 ...
0
votes
2answers
289 views

Setting workspace as arcpy.GetParameterAsText function?

I'm somewhat new to Python and am working on automating some of the daily processes we do at my company. In this code example, I'm trying to automate pulling in data from a CSV file, creating buffers ...
0
votes
3answers
120 views

Shortening code that provides a database description using ArcPy?

I need advice on how to reduce the length of the sample code below. I need to perform the same work on several more datasets. import arcpy, os arcpy.env.workspace = r"\\gis\Env.gdb\Water" datasets =...
2
votes
1answer
249 views

Invalid Output Workspace error when executing Slope_3d as WPS [closed]

I wrote a small toolbox that calculates the slope in degrees of a given .tif file, stores the ouput to a local folder on my computer and generates 2 by 2 tiles. The toolbox works fine, the publishing ...
1
vote
2answers
650 views

Setting default gdb from ArcPy?

I created a new gdb by arcpy.CreateFileGDB_management('e:/Rstack', 'new.gdb') arcpy.env.workspace = 'e:/Rstack/new.gdb' But how to set this new gdb as my default gdb by arcpy, without opening ArcGIS ...
2
votes
0answers
82 views

Understanding QGIS project files [duplicate]

I'm a GIS software developer, I've been working predominantly with MapInfo over the last year or so but have now been tasked with assessing QGIS to see if we can perform the same tasks we've developed ...
2
votes
1answer
698 views

How to save output in different file after clip

I am new to GIS. I have several rasters in one file location I am using clip tool to loop over several rasters in arcgis. When I start I am choosing workspace, which is the folder where my input ...
2
votes
1answer
257 views

Overwriting files in geodatabase outside workspace environment using ArcPy?

I initially set the workspace environment to a directory and included the option, arcpy.env.overwriteOutput=True, but at some point in my script, I convert a shapefile in that directory to a ...
3
votes
1answer
78 views

Why is my ArcPy script deleting its workspace?

I wrote an ArcMap script to go through a feature layer, identify unique values in a given field, and output a feature class from each unique value to its own feature class or shapefile. As an exercise,...
1
vote
1answer
82 views

The type 'ESRI.ArcGIS.Geodatabase.WorkspaceClass' has no constructors defined

I am using a map application (ArcGIS Engine). I am trying to start an edit session and i want to use IWorkSpace interface in the WorkSpaceClass. but i am getting "The type 'ESRI.ArcGIS.Geodatabase....
1
vote
2answers
806 views

Unable to open IWorkspace using IWorkspaceFactory with operating system authentication

I'm trying to open a workspace from the IWorkspaceFactory interface. Here's what I'm trying at the moment: ESRI.ArcGIS.Carto.IFeatureLayer featureLayer = (ESRI.ArcGIS.Carto.IFeatureLayer)pLayer; ESRI....
1
vote
1answer
194 views

Selecting Workspace and Datasets from same dialog using ArcObjects?

I want to select the workspace and the dataset from the same dialog and this is my code for the workspace: private IWorkspace BrowseForWorkspace(int hwnd) { IGxDialog gxDlg = new ...
2
votes
1answer
109 views

Persisting ArcObjects workspace?

In a custom layer I have a workspace variable (File GDB or SDE) that I need to persist (save/load). Therefore I need to persist the ConnectionProperties of the workspace. Thankfully ...
1
vote
0answers
108 views

I am having trouble importing data into my GeoServer workspace, receiving “InsufficientAuthentication error, cannot access workspace as 'anonymous'”

I am having trouble importing data into my workspace in GeoSever. I am able to create various data stores, however I cannot import data into them anymore from any source including PostGIS. I keep ...
1
vote
1answer
149 views

How do I keep my python loop going if there is an error with an SDE workspace?

I have a folder with several .SDE connections. I want my Python code to execute various SDE maintenance procedures (such as compress) on each of these databases. If there is a bad/corrupt/not ...
1
vote
1answer
1k views

Arcpy.Delete_management() not deleting folder?

I've written a script in Python that takes in two ascii files that represent surfaces, then convert them to Rasters, and finally Negate their values (i.e. multiply all cells by -1). In the script, I ...
0
votes
2answers
247 views

arcpy MakeFeatureLayer - one workspace question, one output question

I'm trying to run a very simple python script to create a feature layer from a shapefile. The original script read as follows (I added the two print statements at the end to verify upon completion ...
2
votes
4answers
12k views

Finding polygons which are within/intersect other polygons using FME?

Version: FME Desktop 2014 SP3 I have two shapes with polygons. Now i want to locate those polygons of shape A (polygon.shp) which intersects polygons of Shape B (POLYGONS) (or are within them). I am ...
2
votes
1answer
6k views

Python: how to set a different output folder

I want to transform some vectors to rasters in my folder but I have difficulties setting the output folder. The following code only allows me to output to the original database. I hope to output all ...
1
vote
0answers
299 views

FME: Connecting the output of a workflow to the input of another workflow

Solved: I've tried the advice from @Mapperz - Connecting the transformer before the Writer is writing the shp with the transformers "AttributeVreator_2 & Dissolver". Anyway, I'm still ...
1
vote
1answer
68 views

What defines where files will be saved?

I have a script I am using to save out layers automatically and would like some help with understanding where my files are being saved out to. In my current code, the file that I am processing is ...
5
votes
3answers
722 views

Is it possible to export my FME workbench canvas as a JPEG?

I want to print my FME workbench to a JPG so that the entire canvas is in one image. I have tried printing it to a PDF but it is trying to put it on multiple pages. I have even tried setting the ...
1
vote
1answer
107 views

Alter Fields in multiple feature classes in multiple workspaces

I have 22 geodatabases all in one folder. Each gdb has two feature classes. For each feature class, I need to rename a few of the fields. I've had success with this code, but it only works for each ...
0
votes
1answer
443 views

ArcPy Script to update LYR data source not identifying all layers in folder?

I've put together a script that for the most part works as intended - to walk through a series of folders, find SDE layer files and update their data source to direct connects if the layers support ...
1
vote
0answers
56 views

Catalog table list into web browser

I'm looking to do some cataloging of both workspaces and table metadata - I want to cycle through a workspace and pick up the table names and associate those with the wrokspace name (I can then track ...
3
votes
0answers
350 views

Could not set a workspace style as layer's default style using REST API

I am posting this data to DATA_ONE {"layer": { "enabled": true, "defautStyle":{ "name": "My_Roads_Style", "workspace": "My_Workspace" ...
1
vote
1answer
499 views

Arcpy ListFeatureClasses in same workspace differs when run from ArcMap VS IDLE

This Works The following python script works when connecting to my dev ArcGIS server, from both the ArcMap python window and the IDLE python GUI/shell running on my dev workstation: import arcpy ...
7
votes
2answers
2k views

Modelbuilder Workspaces: Defaults to a folder, would like it to be a geodatabase

I'm having an issue with modelbuilder workspaces. I have created a simple model to clip a raster, run focal statistics on it, and create contours. I have a workspace variable as an input. If I run the ...
2
votes
1answer
774 views

Set default projection of geometry objects in arcpy

I have a script that creates a polyline geometry from scratch using some math to generate coordinate pairs. At the same time, there is a user-defined polygon shapefile that is used to "erase" the ...
2
votes
0answers
161 views

Pulling ArcSDE feature classes from current map to fieldmapping as DETable?

I'm working with SDE layers in arcmap. trying to avoid pointing to the sde file itself. I've tried workspace.Pathname, it was empty for sde remote workspace. I've also tried IName from workspace, ...