|
POST
|
Make x,y event layers would be the tool for that. Then export the event layer to a feature class by right clicking in the TOC then data then Data Export. You can also right click on csv table in the TOC and there is an option for make x,y events.
... View more
02-03-2016
03:49 PM
|
1
|
1
|
3890
|
|
POST
|
You could script the solution with python and then use Windows Task Scheduler to have the operation run every night or more often if needed (every hour, every 30 minutes, or whatever is appropriate for your situation). If python is not your thing one could make it in model builder and the export it to python.
... View more
01-26-2016
09:29 AM
|
1
|
2
|
2956
|
|
POST
|
Got to love the helpful error messages. I would try saving the mxd as a copy to help rule it out or create a new one and move the layers over. Then after that I would remove data from each source (SDE, FGDB, SHP) in turn to see if it is a data source problem. But I am just guessing....
... View more
01-15-2016
04:49 PM
|
1
|
0
|
29617
|
|
POST
|
Well I am not sure why the mpk is failing. Would it be possible to use Consolidate Map instead? Consolidate Map—Help | ArcGIS for Desktop
... View more
01-15-2016
01:49 PM
|
1
|
2
|
29617
|
|
POST
|
Does anyone know a good source for county codes used in API numbers in US well naming standard? I am looking for Alaska in particular. I did find this old document on it but it is quite dated: Also, I see that as of 2010 PPDM is managing the standard. I would love to just use their site but they want a $100 for a membership. It would be ideal if some place there is GIS data for this... or would it just be best to get the PPDM membership. Thanks for any suggestions.
... View more
01-15-2016
12:46 PM
|
0
|
1
|
3403
|
|
POST
|
OK, so first off I have discovered that I should not be using a mulitpoint object, but just point objects. Which in my defense is what I was trying to do at first. When it did not work I thought maybe if I try some other object. So, I now think that the problem is coming from repeated calls to graphicsContainer.DeleteAllElements(); I am getting extra calls because the ShowResultPoints method is called by the selection changed event from a data grid three times when loading the data grid. By placing some boolean flags in the form class I have prevented it from running extra times on loading. The below code is working for adding the points. internal static void ShowResultPoints(List<Int64> pipeOids, List<double> measures)
{
IGraphicsContainer graphicsContainer = null;
IMap map = null;
map = (IMap)ArcMap.Document.FocusMap;
graphicsContainer = (IGraphicsContainer)map;
RgbColor color = new RgbColorClass();
color.Blue = 255;
color.Red = 0;
color.Green = 0;
RgbColor colorOutline = new RgbColorClass();
colorOutline.Red = 255;
ISimpleMarkerSymbol simpleMarkerSymbol = new SimpleMarkerSymbolClass();
simpleMarkerSymbol.Color = color;
simpleMarkerSymbol.Outline = true;
simpleMarkerSymbol.OutlineColor = colorOutline;
simpleMarkerSymbol.Size = 9;
simpleMarkerSymbol.Style = esriSimpleMarkerStyle.esriSMSDiamond;
IMarkerElement markerElement = new MarkerElementClass();
markerElement.Symbol = simpleMarkerSymbol;
List<IPoint> points = new List<IPoint>();
int numberOfPoints = pipeOids.Count;
for (int i = 0; i < numberOfPoints; i++)
{
IPoint point = new PointClass();
point = MeasureToPoint(pipeOids, measures);
points.Add(point);
IElement element = new MarkerElementClass();
element = (IElement)markerElement;
element.Geometry = point;
graphicsContainer.AddElement(element, 0);
}
ArcMap.Document.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGraphics, null, null);
}
... View more
11-23-2015
03:45 PM
|
0
|
0
|
1967
|
|
POST
|
Well there is a little bit of text at the start: "How can I draw a multipoint with a graphic?" The above code works fine for adding a one of the points when I set the element.Geometry = points[0] in line 32. But I do not know the right pattern when add a group of points to a graphic container. I have looked around but could not find an example. Sorry, I should have given a little more info upfront.
... View more
11-22-2015
05:04 PM
|
0
|
0
|
1967
|
|
POST
|
How can I draw a multipoint with a graphic? I am working on C#.NET ArcObjects add in for ArcGIS desktop 10.0/10.1. The bellow code works fine for adding a one of the points when I set the element.Geometry = points[0] in line 32. But I do not know the right pattern when add a group of points to a graphic container. I have looked around but could not find an example. Thanks for any help! RgbColor color = new RgbColorClass();
color.Blue = 255;
color.Red = 0;
color.Green = 0;
RgbColor colorOutline = new RgbColorClass();
ISimpleMarkerSymbol simpleMarkerSymbol = new SimpleMarkerSymbolClass();
simpleMarkerSymbol.Color = color;
simpleMarkerSymbol.Outline = true;
simpleMarkerSymbol.OutlineColor = colorOutline;
simpleMarkerSymbol.Size = 9;
simpleMarkerSymbol.Style = esriSimpleMarkerStyle.esriSMSDiamond;
IMarkerElement markerElement = new MarkerElementClass();
markerElement.Symbol = simpleMarkerSymbol;
List<IPoint> points = new List<IPoint>();
int numberOfPoints = pipeOids.Count;
for (int i = 0; i < numberOfPoints; i++)
{
IPoint point = new PointClass();
point = MeasureToPoint(pipeOids, measures);
points.Add(point);
}
Multipoint multipoint = new MultipointClass();
foreach (IPoint point in points)
{
multipoint.AddPoint(point);
}
IElement element = null;
element = (IElement) markerElement;
element.Geometry = (IGeometry) multipoint;
graphicsContainer.AddElement(element, 0);
... View more
11-22-2015
03:19 PM
|
0
|
3
|
5465
|
|
POST
|
Sorry, it took me a few days to get back to the project. The partial refresh did the trick! Thanks for the help.
... View more
11-18-2015
09:26 AM
|
0
|
0
|
1264
|
|
POST
|
I am new to C# ArcObjects applications. I have a what I am sure is a very simple question. I have a bit of code that selects a line feature. If one opens the attribute table it does in fact show the line as selected; however, it does not show up as selected in the data view. From VS debugger. rowIdentifyObj = (IRowIdentifyObject)featureIdentifyObj;
feature = (IFeature)rowIdentifyObj.Row;
iSelection = (IFeatureSelection)pipeCenterlineLayer;
iSelection.Add(feature); Do I need to set the SetSelectionSymbol to true? Thanks for any help.
... View more
11-13-2015
04:14 PM
|
0
|
2
|
4232
|
|
POST
|
Right, it can be a lot of information. Even people who do GIS professionally can quickly get in over their heads when exploring a new part of the discipline . The field is truly massive. It includes IT infrastructure, software development, cartography, remote sensing, etc.... I and others on this thread have talked a little bit about the underpinnings of the technology/science/art of GIS. However to just make a map the background information, while important and relevant, is not absolutely necessary. If I where you I would start by finding a DEM, then look at symbolizing it. Here is some info on hillshade. http://resources.arcgis.com/en/help/main/10.1%20/index.html#//009t0000007q000000
... View more
10-09-2015
09:05 AM
|
0
|
3
|
1895
|
|
POST
|
Yes, you do not want a TIN, I was just trying to point out that elevation data does not have to be in a raster. And yes all DEMs will have elevation data in them. Think of a black and white digital image that you would take with your camera. Each pixel has a value that repentants how much light the sensor detected. So, in a DEM each pixel has a value, but instead of it being a measurement of reflected light it is a measurement of elevation. Extra 001 - An Exercise in Digital Elevation/Terrain Models And yes one can make coutures with ArcGIS quickly. There are a few ways to do this in Arc, but bellow is one way. http://resources.arcgis.com/EN/HELP/MAIN/10.1/index.html#//01030000001q000000
... View more
10-08-2015
09:17 AM
|
0
|
0
|
2631
|
|
POST
|
Raster: Your raw elevation data could be from files in many formats, or even in a different data model--vector. Think of a TIN (triangulated irregular network) surface. But often they are called DEMs (Digital elevation models) and are in a raster formats. This surface looks like it has a color ramp applied to it--changing from green to white/light gray with elevation. Then off this you have contours (lines of constant elevation) generated and also a hillshade (this is the part that makes it look 3D by making shadows on the surface as if cast by the sun). Vector: You have polygon data (most likely) for your park boundaries, lakes, etc. Polylines for your roads, streams, and paths. And lastly, Points for your camp sites, picnic tables, etc. I would look for the elevation data on you state government's web pages and then I would look at the USGS data. For the vector: I would look at the state's data and maybe the park's. Often organizations have some sort of GIS data portal or clearinghouse. New York is a big state they are sure to have something. Okay, hope that gets you started.
... View more
10-07-2015
07:24 PM
|
1
|
5
|
2631
|
|
POST
|
It does feel like this is the only possibility, other then the tool just having some error that is expressing it's self in this situation. But I would think that the tool would compensate for the distortion as one moved to different areas of the projection (kinda the point of projecting). I can manually set the cell size larger, like .4m and produce cells that are still smaller then .75ft when displayed in Arc, and not have loss in image quality. I sent a sanitized raster to Coby, the esri person on this thread, for testing. So, we will see what they say...
... View more
10-07-2015
09:13 AM
|
0
|
0
|
2433
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-04-2024 05:39 PM | |
| 1 | 07-30-2024 09:05 AM | |
| 1 | 07-08-2024 05:32 PM | |
| 1 | 03-20-2024 10:27 AM | |
| 6 | 03-13-2024 03:38 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-12-2025
11:02 AM
|