|
POST
|
Dan, I understand what you are saying about how this can go wrong quickly. I just need to input values into my .prj file from a specified user input based on the survey of the CAD drawing. These are known values from the surveyor so they are more than likely correct and will fit within the bounds of the projection. When looking at the SpatialReference class library, I see that most of the properties are read and write. But, why is it that I cannot write to change certain values like "name" or "falseEasting" or other ones that are indicated as read/write? Are these really not read/write but read only? Is the only way to change properties to go into the "set" properties towards the bottom of that page (like setDomain and such)? Thanks again.
... View more
12-01-2015
12:37 PM
|
0
|
6
|
4214
|
|
POST
|
Dan, I liked the nod to Dolly the clone. I get what you are saying about all the rip rap of the former shapefile and, you're right, the *.prj file is important with CAD files (why can't we all just get along and all use GIS??). The naming isn't really my concern; I just want to be able to get into the SpatialReference class of the .prj file that I created and change the values of certain properties (like false Easting, etc) based on user input. When I try to change these kind of values with the sad code snippet I placed above, the values do not change. How do I change these values and make them stick?
... View more
12-01-2015
11:12 AM
|
0
|
8
|
4214
|
|
POST
|
Dan, I was worried about that which is why I'm hesitant to just use the long string. I have a feeling that it will be more problematic than beneficial. However, I guess I do not understand how to modify all of the SpatialReference elements within Python. I like using the copy method to make a new (or a copy of a) projection file. But how do you go in to change the elements? For instance, if I wanted to change the name of the projection (which is a read/write property), how do I do that? (Sorry for being so inept in Python!) When I write it this way, this is what I get >>> import arcpy
>>> sr = arcpy.SpatialReference(r"C:\Users\AWelsh\Documents\ArcGIS\TempPlaceHolder.prj")
>>> print sr.name
TempPlaceHolder
>>> sr.name = "TempPrj"
>>> print sr.name
TempPlaceHolder
>>> I know I am missing something simple but I am not sure what it is.
... View more
12-01-2015
10:34 AM
|
0
|
10
|
5689
|
|
POST
|
Darren, I like where this is headed! I took Dan's advice and copied the car into a re-model of the car, so I could have a .prj file that I could manipulate. I took your code snippet and as long as I use the right values, this seems to work! However, this feels like cheating. Is it easy to screw stuff up when doing it this way? Or should I just double check each time to make sure it was all entered correctly? Is this the best way to modify/create a .prj file with how I am going through the process? Thanks guys!
... View more
12-01-2015
10:06 AM
|
0
|
13
|
5689
|
|
POST
|
Dan, this is how the process is for now. Each project that we do in CAD, a new coordinate system is created - a local one. Once that project is complete, we want to convert the CAD to GIS. In doing this, we open a blank ArcMap, create the projection file (which inherently assigns the blank ArcMap project to that projection), then load the CAD data to verify it is in the right place. From looking at the link that you sent, that text string looks exactly like the parameters that I would want to put in (with using user-inputted variables). What I am really looking for is a Python script that will create this .prj file so that I can use it for the CAD drawing and then eventually I will export the drawing into a GDB or something similar. Do you know how to utilize the Python script for the SpatialReference class in order to create this .prj file and then throw in the inputs from that CAD text from your link? Thanks so much for your assistance!
... View more
11-30-2015
05:51 PM
|
0
|
16
|
5689
|
|
POST
|
Dan, thanks for the help. I had looked at the SpatialReference class site. I looked at the second link and saw where it had information on creating a spatial reference. However, this ends up showing how to create a feature class with a spatial reference. Is there another Pyhon command that would create just the .prj file? That is essentially what I am initially trying to do. Thanks!
... View more
11-30-2015
02:53 PM
|
0
|
18
|
5689
|
|
POST
|
I think there must be an ‘easy’ way to do this but I can’t seem to find a comprehensive set of answers for this question. I am given CAD files from Bentley MicroStation (.dgn files) that are projected in a local coordinate system. I then open a blank ArcMap and create a new Projected Coordinate System (they usually are in a Lambert Conformal Conic system, US Survey Feet, have a Geographic Coordinate System of NAD83, and have a series of inputs for the parallels, easting/northing, scale factor, etc). After that, I load the .dgn file and see if it lines up where it is supposed to. Some code snippets I have seen show how to get to the false easting/northing, 1 st and 2 nd standard parallel, and such, but I have not found all of the places to enter in all of the values. I hope what I am asking makes sense. I am guessing you use the SpatialReference library within arcpy in Python (after I figure out how to program the inputs, I plan on making a form where the user types in certain values, etc). Please show me the direction I need to go for this! Thanks in advance!
... View more
11-30-2015
02:08 PM
|
0
|
28
|
19799
|
|
POST
|
When you say multiple projects, are you meaning multiple instances of separate ArcMap programs running at the same time? What version of ArcGIS are you running and what is your operating system? What happens when you have ArcMap running and then go to Start --> ArcGIS --> ArcMap on your computer?
... View more
08-06-2014
07:47 AM
|
0
|
1
|
3052
|
|
POST
|
Hi John-Paul, Have you tried a different web browser on your device? Internet Explorer has not been updated on Windows Mobile in a very long time. I would suggest trying Opera Mobile 10: Opera for Mobile Devices. Cheers, Adrian
... View more
08-05-2014
07:42 AM
|
1
|
0
|
510
|
|
BLOG
|
I love using Flickr for hosting, storing, and sharing the photos that I take of my family. I also like how you can geotag your photos in Flickr as well. For a while, I really wanted to do more with this ability to geotag, such as add my photos to an Esri Story Map. However, it seemed that this ability did not exist just yet. I recall reading an Esri blog post from Bern Szukalski about possibly using the features found in pipes.yahoo.com to try and link your Flickr photos to an ArcGIS Online map (link here) that really confused me. After about a year later, a new blog post came out (that turned into an ArcWatch Article) that demonstrated how to easily use geotagged photos from Flickr and put them in a story map (link here). So, without much modifications, here is my first Story Map!
Trip to San Diego - July 2014
This is my first story map, so I am still tinkering around with it some!
I am not sure if that link will work, so here is the url: http://www.arcgis.com/apps/MapTour/index.html?appid=c9e34c9abf90460796dd0a438ca3ee3f&webmap=92649bcd58204a72bcb6a3148676… Please let me know what you think! ~Adrian
... View more
08-04-2014
04:04 PM
|
0
|
0
|
1264
|
|
POST
|
I do not have ArcGIS for Server but is there a way to make your custom logo be accessible by a public URL? Is there a way that you can host your image on your local server, and have a URL point to it? I imagine that would work.
... View more
08-04-2014
01:07 PM
|
1
|
2
|
1080
|
|
POST
|
How do you have a 90GB file on your iPad? Did you mean MB? In any case, if there is room, could you potentially put the same file on the iPad as a backup in a more hidden folder? I know it isn't the exact result that you would like but it could save some downtime. ~Adrian
... View more
08-04-2014
09:05 AM
|
0
|
1
|
1054
|
|
POST
|
Kyle, What browser are you using and have you tried other browsers? Have you tried clearing your browser cache as well? ~Adrian
... View more
08-01-2014
07:44 AM
|
0
|
0
|
2557
|
|
POST
|
I'm getting back into Python coding and couldn't find any examples of this. I basically want to write a script that displays an input box where the user will type in an address. I want the address to be found and then zoomed to on the map. Later on, this location will have a point added to it. But my question is, is there a way to use Python to find one user-entered address? Thanks!
... View more
02-01-2013
07:26 AM
|
0
|
1
|
1335
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 2 | a week ago | |
| 1 | 02-09-2026 03:32 PM | |
| 2 | 02-05-2026 07:06 AM | |
| 1 | 02-05-2026 02:16 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|