POST
|
I mean In case of having the original file in directory "C:\\GIS\\ROR" and if I want to save the output in "D:\\Data\\Final\\" Do I have to set two env.workspace for both input and out puts?
... View more
08-20-2015
04:16 AM
|
0
|
0
|
1680
|
POST
|
Thanks Neil but I have every thing in `.shp` and not `gdb` format. In that case how I can set the env workspace?
... View more
08-20-2015
04:05 AM
|
0
|
0
|
1680
|
POST
|
sing ArcGIS 10.2 for Desktop, I have some Shapefiles which I have no idea why their Geometry column (shape) contain ZM! now I need to remove all those ZM and get a clean polygon instead. I thought I can use the FeatureClassToShapefile_conversion() but not sure how to disabled both Output has Z Values and Output has M Values through following ArcPy # Import system modules
import arcpy from arcpy import env
# Set environment settings env.workspace = "C:/data"
# Set local variables
inFeature = ["climate.shp"] outLocation = "C:/output"
arcpy.FeatureClassToShapefile_conversion(inFeatures, outLocation)
... View more
08-19-2015
11:48 PM
|
0
|
6
|
6152
|
POST
|
Using ArcGIS 10.2 Desktop I am trying to run a Merge function by Arcpy as # Set environment settings env.workspace = "E:\\GIS\\ROR" path = "E:\\GIS\\Data\\" featureClass = "band-tailed_pigeon.shp" InputFeature = path + featureClass FinaloutLocation = "E:\\GIS\\Data\\Final" dissolve_1 = "dissolved_1.shp" dissolve_2 = "dissolved_2.shp" dissolve_3 = "dissolved_3.shp" dissolve_4 = "dissolved_4.shp" dissolve_5 = "dissolved_5.shp" # Process: Merge inFeaturesToMerge = [dissolve_1,dissolve_2,dissolve_3,dissolve_4,dissolve_5] arcpy.Merge_management(inFeaturesToMerge, FinaloutLocation) but I am getting this error: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000725: Output Dataset: Dataset E:\GIS\Data\Final already exists. Can you please let me know why this is happening? Thanks
... View more
08-19-2015
11:44 PM
|
0
|
2
|
2959
|
POST
|
Using ArcGIS 10.1 and ArcGIS Server Javascript Api I am having issue on having Home Button and Map Overview on the map. for what ever reason the home button is not showing up the map Here is the Script which I have <script>
require([
"esri/map",
"esri/dijit/OverviewMap", "dojo/parser","dijit/layout/BorderContainer", "dijit/layout/ContentPane",
"esri/dijit/HomeButton", "esri/layers/FeatureLayer", "dojo/dom-construct", "dojo/domReady!"
], function(
Map, OverviewMap,
parser, HomeButton, FeatureLayer
) {
parser.parse();
var map = new Map("mapDiv", {
basemap: "topo",
center: [-126.416, 55.781],
zoom: 6
});
//===================================================== Overview
var overviewMapDijit = new OverviewMap({
map: map,
visible: true
});
overviewMapDijit.startup();
//===================================================== Shapefile
//add a layer to the map
var featureLayer = new FeatureLayer("http://somewhere/1", {
mode: FeatureLayer.MODE_ONDEMAND,
});
map.addLayer(featureLayer);
//===================================================== Home Button
var home = new HomeButton({
map: map
}, "HomeButton");
home.startup();
});
</script> and CSS for Home Button is #HomeButton { position: absolute; top: 120px; left: 50px; z-index: 2; } Can you please let me know why this is happening?
... View more
03-27-2014
02:38 PM
|
0
|
2
|
771
|
POST
|
Can someone please let me know how I can set the Pyscripter 2.5.3.0 x64 works with Python 2.7.3 which comes with ArcGIS? what I did was: 1- I installed the ArcGIS 10.2 2- I installed Pyscripter 2.5.3.0 x64 which forced my to install Python 3.3 3- I installed Python 3 now I cant use the Pyscripter for ArcGIS Pyrhon. I already add the arcpy in to Pyscripter IDE Options--> Special package as: os, wx, scipy,arcpy but still not working. I also check the "desktop10.2.pth" at c:\python27\ArcGIS10.2\Lib\site-packages which looks like: C:\Program Files (x86)\ArcGIS\Desktop10.2\bin
C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy
C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Scripts Can you please let me know how i can fix this issue? Thanks
... View more
12-20-2013
12:20 AM
|
0
|
1
|
431
|
POST
|
Can you please let me know how I can run a ArcPy code to remove all <NULL> values from the table? I have a shapefile contains our Point values which I imported from an excel file now in some rows I have not still data but it shows Null? [ATTACH=CONFIG]29995[/ATTACH]
... View more
12-18-2013
03:32 PM
|
0
|
0
|
396
|
POST
|
Hi I have a map with many of active polygon feature class (Over 100 layers) and I need to set all polygons Outline Color to "No color". Can you please let me know how I can run an arcpy code to select all polygon layers in map and set their outlines? Thanks
... View more
02-18-2013
11:14 AM
|
0
|
1
|
671
|
POST
|
Hi, Using ArcMap 10 I am trying to add two fields to a shapefile from a standalone Arcpy.the field has been added to the future class after ruing the code BUT:- The field_alias does not show up at the table of the future class even after I manually checked the "Display Field Aliases" from "Layer Properties--> Fields--> Options" # Import arcpy module
import arcpy
# Local variables:
fshape = "C:\\Temp\\test.shp"
try:
# Process: Add Field
# AddField_management (in_table, field_name, field_type, {field_precision}, {field_scale}, {field_length}, {field_alias}, {field_is_nullable}, {field_is_required}, {field_domain})
arcpy.AddField_management(fshape, "Area", "DOUBLE", "2", "", "", "This is not Real Name", "NON_NULLABLE", "NON_REQUIRED", "")
print ("Fields has been Added")
except Exception as e:
print( e.message)
Can you please let me know what I am doing wrong? thanks
... View more
06-04-2012
03:43 PM
|
0
|
1
|
789
|
POST
|
Hi, I had to upgrade my python to python 3.2 on windows 64 now I am trying to import arcpy in the IDLE an I am encountering with "ImportError: No module named arcpy". I add the PYTHONPATH (Desktop10.pth) from python26\Lib\site-packages folder to Python 3.2 directory and it stop complaining about arcpy but now I am getting "ImportError: cannot import name gp" Error message! Can you please let me know how I can run arcpy module in python 3.2? Regards,
... View more
05-04-2012
08:47 PM
|
0
|
1
|
1864
|
POST
|
Hi, Can you please let me know if it is possible to use the Arcpy with IronPython.net? I would like to create a stand alone application(Out of ArcMAp) and it would be great if you let me know how I can do it with IronPython.net or any other python provider? Thanks
... View more
04-27-2012
07:31 AM
|
0
|
1
|
1347
|
POST
|
Hi everyone, I need to generate a topographic map for one of our projects.I just noticed that Google Maps is providing a very perfect contour line map through Terrain map. Can any one let me know how I can get access to Vector contour lines or Raster(with contours Elev Values)? I already Google this, but couldn't find any solution! I know there is a graphic base solution by using the Google Sketchup Pro and AutoCAD ,but I need to have the actual valueswith contours as well. Thanks for your time in advance!
... View more
02-13-2012
01:25 PM
|
0
|
0
|
463
|
POST
|
Can you please let me know what else is needed? I really appreciate if you kindly let me know what exactly you need to figure the issue out?
... View more
06-10-2011
01:31 PM
|
0
|
0
|
1767
|
POST
|
I am sorry vangelo, but I didn't get what exactly you mean?
... View more
06-10-2011
09:56 AM
|
0
|
0
|
1767
|
POST
|
Hi, Here are some information about the system I am working on: SELECT BYTES/1024 FROM SYS.DBA_SEGMENTS WHERE SEGMENT_NAME='Map_ROAD' AND SEGMENT_TYPE='TABLE'; BYTES/1024 ---------------------- 13312 ================================================================ SELECT AVG_ROW_LEN * NUM_ROWS FROM USER_TABLES WHERE table_name = 'Map_ROAD'; AVG_ROW_LEN* NUM_ROWS ---------------------- 9083080 ================================================================ SELECT TABLE_NAME, ROUND((AVG_ROW_LEN * NUM_ROWS / 1024), 2) ROW_SIZE_KB, (BLOCKS * 😎 BLOCK_SIZE_KB FROM USER_TABLES WHERE table_name = 'Map_ROAD' TABLE_NAME : Map_ROAD ROW_SIZE_KB : 8870.2 BLOCK_SIZE_KB: 6032 Which database you're using, and its version and service pack level, - Oracle Database 11g Release 11.1.0.6.0 - 64bit Production Which version and service pack of ArcSDE you are using, - ArcSDE 9.3 Service Pack 1 Which version and service pack of ArcGIS you are using, , and - ArcGIS 9.3.1 - Service Pack 2 Whether the table you are accessing is versioned. -Yes the table is version-ed. Do you store a lot of BLOBs, CLOBs or NCLOBs? No Do you have a very large number of concurrent connections? Not Really
... View more
06-10-2011
09:01 AM
|
0
|
0
|
1767
|
Title | Kudos | Posted |
---|---|---|
1 | 03-07-2011 02:23 PM | |
1 | 09-02-2015 12:50 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|