|
POST
|
common issues: 1 Longitude and Latitude is mixed up (long. is X, lat is y) 2 Longitude is missing a negative sign when it should 3 the data are actually projected and not in Long-Lat 4 you are trying to mix Long-Lat data into a data frame which is projected without defining the projection of the Long-Lat data first using the Define Projection tool. Including a sample of the data would help identify any cases not covered by the above.
... View more
07-26-2014
03:01 AM
|
0
|
3
|
1606
|
|
POST
|
I have some vague recollection that the spatial reference had to be set otherwise you got errors in geometry creation. I have included a small demo script...you can add to the list of values to calculate for...values are calculated from the origin...just copy and paste the code into a script window...tab spacing is 2 spaces ''' import math import arcpy pnt = arcpy.Point() polylines = [] vals = [0.001, 0.1, 10.0, math.sqrt(2.0), 2.0] for a_val in vals: polylines.append( [[0.0,0.0],[a_val,0.0]] ) #positive out polylines.append( [[0.0,0.0],[-a_val,0.0]] ) #negative out polylines.append( [[a_val,0.0],[0.0,0.0]] ) #positive in polylines.append( [[-a_val,0.0],[0.0,0.0]] ) #negative in array = arcpy.Array() polys = [] for i in range(len(polylines)): a_poly = polylines print "\n", "Coordinates: ", a_poly for pair in a_poly: pnt.X = pair[0] pnt.Y = pair[1] array.add(pnt) #print " X: %20.16f Y: %20.16f" % (pnt.X, pnt.Y) ''' add an empty spatial reference when creating the geometry to go from low to high precision ''' poly = arcpy.Polyline(array,arcpy.SpatialReference()) cal_leng = poly.length centroidX = poly.centroid.X centroidY = poly.centroid.Y print "Polyline properties:" print " length: %20.16f" % (cal_leng) print " centroid (x,y: %20.16f, %10.16f" % (centroidX, centroidY) array.removeAll() polys.append(poly) #for further use
... View more
07-25-2014
02:11 PM
|
0
|
0
|
1940
|
|
POST
|
Sheldon I can find nothing in the help files other than the search tolerance examples that you gave (ie the ? in unlocated locations). Is there any chance that you performed some modifications after initial setup since this link allows for updating locations after changes have been made. I am out of ideas, unless it is a bug...maybe someone else can weigh in...good luck
... View more
07-25-2014
02:03 PM
|
0
|
0
|
3261
|
|
POST
|
It is like it isn't part of the network, ie, a line segment sticking out in space, which may be why when you increase the tolerance, the point is found. Otherwise I have never seen problems that weren't associated with network connectivity (excluding solve bugs of course) Sheldon, you might also want to move this to the Network Analyst are in Places even though you have tags
... View more
07-25-2014
01:35 PM
|
0
|
2
|
3261
|
|
POST
|
If you go the other way...same result? Have you ruled out breaks in the network?
... View more
07-25-2014
01:25 PM
|
0
|
4
|
3261
|
|
POST
|
Sounds like you are working with decimal degree data and trying to produce a polyline in meters (or feet). I would suggest working with projected coordinates. I would also suggest including your script here so it can be examined for potential script errors
... View more
07-25-2014
01:23 PM
|
0
|
2
|
1940
|
|
POST
|
If there are areas of NoData in any of the grids, NoData will be returned, see the image here
... View more
07-25-2014
10:13 AM
|
0
|
4
|
3000
|
|
POST
|
No...regenerating the fishnet(s) would be the fastest
... View more
07-25-2014
09:27 AM
|
0
|
0
|
878
|
|
POST
|
I don't think so...but I wouldn't recommend experimenting on a good file... I did a search on google using this exact search "number of shapes does not match the number of table records" edit session and it yielded a lot of links. There are suggested ways of fixing this and this at least one KB article on potential means to recover the file, but I suggest you examine your workflow and see if you find a match. It is sometimes hit or miss...
... View more
07-25-2014
09:25 AM
|
0
|
1
|
1794
|
|
POST
|
By any chance are you deleting rows from the attribute table rather than deleting the features themselves? The former aspect will surely cause a corrupt shapefile
... View more
07-25-2014
09:02 AM
|
0
|
3
|
1794
|
|
POST
|
There are some examples of label expression using python in the help files
... View more
07-25-2014
05:26 AM
|
0
|
1
|
3550
|
|
POST
|
Dan The differing cell size intrigues me...could you try to rasterize your zonal polygon file using the same cell size as your DEM and rerun the analysis ... just humor me
... View more
07-25-2014
04:27 AM
|
0
|
0
|
3388
|
|
POST
|
There is information on Geotagged Photos in the help file...according to it there are limitations for the standard license (Add_Photos_As_Attachments parameter)
... View more
07-24-2014
10:22 PM
|
0
|
2
|
1507
|
|
POST
|
Run the Repair Geometry tool, you may be having bleed through associated with the water layer
... View more
07-24-2014
10:12 PM
|
0
|
0
|
1158
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|