|
POST
|
What about using a text field and store "WKT" Well Known Text to describe the geometry? Many other medium to large format database can read and interpret WKT. I use this in SQL server for custom geometry analysis/manipulation. Just the first thought that came to me when I read your post.
... View more
12-28-2017
07:47 AM
|
1
|
4
|
1332
|
|
POST
|
Typically a Join between two tables require a key relationship eg part of the sql in the join should relate FC1.somekey = Table1.somekey. Too add some complexity Left Joins or Right Joins include all of one set and those matching of another. This too requires an equality or relationship key which I see missing from your example. Joining on dates within databases presents other issues. In a database, Datefields contain not only dates but time as well. To complicate it further, dates are stored in the Databases own default format which can differ between databases ie MS Access/SQL Server/Oracle.... so the trick is placing or setting the date in a compatible format and setting the join key on that converted format between the FC1 dataset and Table1. In your examples above it appears that you are trying to do a cross join or in equality type of join and if that is the intent then search for info on Cross Joins. Hope this gives you some ideas!
... View more
12-28-2017
07:36 AM
|
1
|
6
|
2708
|
|
POST
|
File Geodatabase is not compatible with anything outside of ESRI! A Personal Geodatabase can be read from almost any other application. Please vote on keeping this option within Pro https://community.esri.com/ideas/12662
... View more
12-27-2017
07:07 AM
|
0
|
0
|
1720
|
|
POST
|
In my experience either I geo-reference the CAD file (does not take long if you have enough control points), take a guess at the projections (trial and error -- this can be frustrating), or have the technician, if possible, use the correct projected seed file (I deal mainly with DGN's which uses a seed).
... View more
12-22-2017
07:45 AM
|
1
|
0
|
1299
|
|
POST
|
How To: Define the projection for CAD data for use in ArcMap
... View more
12-21-2017
09:17 AM
|
0
|
3
|
1299
|
|
POST
|
I can give you some tips..although you can do this with a direct join (sometimes), i would highly recommend that you : 1. Import the excel sheet/table into a database (MS Access would work) 2. While importing, make sure that the field you are joining on are the same data type ie (Text, Integer, double etc) that is in the shape file. If you are joining in Zipcode and the shape file dbf has it as a "Long Integer" make sure that the imported excel table in step one is a Long Integer as well. The datatype for the join field must be the same. 3. From Arcmap - add the datatable you made in step 1 and perform your join.
... View more
12-19-2017
07:59 AM
|
1
|
0
|
1215
|
|
POST
|
from string import ascii_uppercase
import itertools
def iter_all_strings():
size = 1
while True:
for s in itertools.product(ascii_uppercase, repeat=size):
yield "".join(s)
size +=1
for s in itertools.islice(iter_all_strings(), 54):
print s Just save your stopping point in line 11 (number of iterations you want 54... I believe is "BB"
... View more
12-14-2017
07:15 AM
|
0
|
0
|
6212
|
|
POST
|
In the field calculator VB script does not have any more efficient way. In VB language ... like .net -- yes there are other ways. Testing for Null's in VB is by using the "is NULL" test. However in my experience with addresses I use an old fashion test and test for one blank space by doing something like this ... if a & "" = "" then do something. In vb if a null is concatenated with a space then the value will be a space. I am an old fashion VB'r but I would highly recommend doing this in Python there is less and less support for VB. Already ESRI has downgraded from VBA to VBScript in ArcMap.
... View more
12-12-2017
07:28 AM
|
1
|
0
|
2119
|
|
POST
|
Love to move to Pro but it does not accept MS Access which is critical to our operations. The choice of DB's is not mine to make!
... View more
12-12-2017
07:04 AM
|
0
|
0
|
2251
|
|
POST
|
Dan's is better --- the sample code I was using had unicode strings in it ....
... View more
12-11-2017
08:24 AM
|
0
|
2
|
2251
|
|
POST
|
Pre-Logic Scipt Code: def dmm (dia):
if dia is not None:
units=dia[-2:]
if units=='in':
cnv = int(int(filter(str.isdigit,dia))*25.4)
return str(cnv)+'mm' YourField= dmm(str( !d_diameter!))
... View more
12-11-2017
08:21 AM
|
1
|
3
|
2251
|
|
POST
|
Or something like this.... if s is not None:
print s[:s.index('-')]
else:
print ' '
... View more
12-08-2017
07:41 AM
|
1
|
0
|
910
|
|
POST
|
Lot of ways to appoach it ... one way is to make the number a string... but the test doesnt care whether or not the variable is a number or string so testing myNumber is None would be valid as well -- It is what you return to the field that is important. def reclass (myNumber):
if str(myNumber) is None:
return 911
return myNumber
reclass(!NumberField!)
... View more
12-05-2017
08:41 AM
|
0
|
0
|
3339
|
|
POST
|
Much Ado About Nothing is a excellent document written by curtvprice Dan Patterson describing techniques in dealing with Null values. def reclass (myString):
if myString is None:
return 'Hedgerow'
return myString
reclass(!Description!)
... View more
12-05-2017
08:10 AM
|
1
|
2
|
3339
|
|
POST
|
Currently Pro does not accept MS Access even with the 64 bit engine. You can vote here and possibly they will add MS Access to list of compatible databases? Enable ArcGIS Pro to access ESRI Personal Geodatabases My opinions: https://community.esri.com/thread/204332-arc-gis-pro-data-sharing
... View more
12-01-2017
09:06 AM
|
1
|
1
|
2393
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-18-2018 09:46 AM | |
| 1 | 05-23-2018 08:30 AM | |
| 9 | 04-18-2019 07:15 AM | |
| 1 | 05-04-2016 08:15 AM | |
| 1 | 03-24-2017 01:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-18-2023
06:40 PM
|