splitting and exporting into a shapefile....

36 views
Skip to first unread message

Bryan Christensen

unread,
Mar 28, 2013, 5:15:36 PM3/28/13
to usu-nr-...@googlegroups.com
Hi everyone...
I was able to get the lab 8 sections 'split' from the rest of the unneccessary portions of the stream, and got the data to export to a .txt file (that has an attribute table), but i'm not sure how to make that into a shapefile.  

any hints would be great.  


Ingrid Wieser

unread,
Mar 28, 2013, 5:19:58 PM3/28/13
to usu-nr-...@googlegroups.com, usu-nr-...@googlegroups.com
Export it into a shape file not a textfile. Just do it again. Or load the text file into you map ( like you would an excel sheet ) then right click export to shape file 

-Ingrid 

--
You received this message because you are subscribed to the Google Groups "USU NR 6910 GIS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to usu-nr-6910-g...@googlegroups.com.
To post to this group, send email to usu-nr-...@googlegroups.com.
Visit this group at http://groups.google.com/group/usu-nr-6910-gis?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bryan Christensen

unread,
Mar 28, 2013, 5:28:33 PM3/28/13
to usu-nr-...@googlegroups.com
when i open export in any location, the shapefile type doesn't appear as any of my options.   

Shannon Wing Belmont

unread,
Mar 29, 2013, 12:34:58 PM3/29/13
to usu-nr-...@googlegroups.com
Hi Bryan,
How did you go about "splitting" the stream segments? Did you select them using the selection tool? (holding down the shift key?)  That's the brute force way to do it (for one option).
The key is, once you have the stream polylines selected for the portion of Emigration Creek you are interested in: in the Table of Contents right click on the stream layer > choose Data > Export Data

That will make a new shapefile of the selected features. You will then need to use the "split" tool (a button) in the editor toolbar to cut the line where it intersects with the pipeline.

Questions, or if this doesn't make sense, let me know
--
Shannon Belmont

Quinney College of Natural Resources
Utah State University
5210 Old Main Hill
Logan, UT 84322-5210

Kole Stewart

unread,
Mar 29, 2013, 3:14:49 PM3/29/13
to usu-nr-...@googlegroups.com
Hey Shannon I'm having a little trouble with one of the simple steps exporting the stream lengths, I am manually selecting the stream segments that I'm interested in and then right clicking the stream layer in the ToC, going to export data, selected features, and click OK. Then I get an error saying:
Error exporting data
XML error on line 37, position 1407.
an invalid character was found in text content
What do you think the problem is?

Shannon Wing Belmont

unread,
Mar 29, 2013, 4:27:06 PM3/29/13
to usu-nr-...@googlegroups.com
Kole, Thoroughly asked question~
And I'm at a loss for a reasonable response.
The error doesn't seem to relate to what you are trying to do at all, does it?
You aren't working on a stream file that is on a server, by any chance, are you?
I guess I'd do the first 2-3 rules of troubleshooting.
Quit Arc
Start a new fresh map project
Add only the stream file and reselect the segments you need
Data > Export Data, selected features, use the source CS etc. OK
And see what happens.
If you have already tried that let me know... I'm stalling for time trying to think of what else might cause an unrelated error message such as that one...

Kole Stewart

unread,
Mar 29, 2013, 4:36:23 PM3/29/13
to usu-nr-...@googlegroups.com
Yeah, I've already tried all of that  I'm thinking of re-downloading the data, maybe something glitched with the download. Thanks

Shannon Wing Belmont

unread,
Mar 29, 2013, 4:45:43 PM3/29/13
to usu-nr-...@googlegroups.com
Let me know if fresh data doesn't help and I'll get you something to work with.

Kole Stewart

unread,
Mar 29, 2013, 4:48:15 PM3/29/13
to usu-nr-...@googlegroups.com
This may help, when I tried to use the split tool I wasn't allowed to click on the selected line (portion of emmigration creek) so basically I just divided the polyline until I had it split enough to line up with the rupture site. Maybe this will shed some light on what the problem is, and maybe it is an issue with the layer. Not sure just thought that might help

Kole Stewart

unread,
Mar 29, 2013, 4:56:43 PM3/29/13
to usu-nr-...@googlegroups.com
New data works fine, thanks for the help.
On Mar 29, 2013, at 2:27 PM, Shannon Wing Belmont wrote:

Bryan Christensen

unread,
Mar 29, 2013, 6:55:49 PM3/29/13
to usu-nr-...@googlegroups.com
I went into the editing mode, selected a bunch of stream segments using the select by lasso tool,  then used the split feature to cut off the parts that I didn't want.  Then I exited the edit mode and selected by lasso again.  Then opened the attribute table and unselected the selections that I didn't want.  Then went to data, export.  It does export the segments that I want, but only puts them into a table, not as a shape file 

Sent from my iPhone

Shannon Belmont

unread,
Apr 2, 2013, 11:07:38 AM4/2/13
to
Bryan,
When you go to Data - Export, are you doing this in the attribute table? That will create a table output because you are only exporting the attributes. If you are right clicking on the stream layer in the table of contents and still only getting a table as output then something is wrong. I'd try downloading the stream data again and start with fresh data to see if something didn't get messed up in the download/unzipping process.

Sent from my sub-optimal and adversely antiquated iPhone

Bryan Christensen

unread,
Mar 30, 2013, 11:54:32 PM3/30/13
to usu-nr-...@googlegroups.com
I tried it from two locations, but it worked this time in the layer.  
Looks like an all nighter for me...  


Sent from my iPhone

On Mar 30, 2013, at 8:34 AM, Shannon Belmont <swb....@gmail.com> wrote:

Bryan,
When you god to data - export, are you doing this in the attribute table? That will create a table output because you are only exporting the attributes. If you are right clicking on the stream layer in the table of contents and still only getting a table as output then something is wrong. I'd try downloading the stream data again and start with fresh data to see if something didn't get messed up in the download/unzipping process.


Sent from my sub-optimal and adversely antiquated iPhone

On Mar 29, 2013, at 16:55, Bryan Christensen <bryanchr...@utah.gov> wrote:

Fidel Zebadua

unread,
Apr 2, 2013, 12:57:54 AM4/2/13
to usu-nr-...@googlegroups.com
Hello Shannon,
How can I get rid off the unnecessary "parcel areas"? I mean, the portion of the parcels that are far away 250 meters (out of the buffer).
 

Fidel Zebadua

unread,
Apr 2, 2013, 1:45:38 AM4/2/13
to usu-nr-...@googlegroups.com
Hello Shannon,
I have a question, when I set up my maps to a scale of 1:7500 they do not fit into the work area on layout view. Would it be a problem if I submit them in a different scale that fit better in the work area?
Are you going to be able to chat tomorrow? my work schedule does not let me to have morning availability so I hope we could work together tomorrow. Thank you
 


On Fri, Mar 29, 2013 at 10:34 AM, Shannon Wing Belmont <swb....@gmail.com> wrote:

Shannon Wing Belmont

unread,
Apr 2, 2013, 10:53:47 AM4/2/13
to usu-nr-...@googlegroups.com
Fidel, you may change the scale a bit, but to use the data driven pages, you will need to work with something close to 1:7500. You should adjust your layout view to make the scale work.

Shannon Wing Belmont

unread,
Apr 2, 2013, 11:05:36 AM4/2/13
to usu-nr-...@googlegroups.com
Fidel,
This is something you can control with the select by location options. You don't necessarily want to get rid of the portion of the parcels that are more than 250m away from the creek, you want to be able to identify the parcel (and parcel owners) that need to be contacted about the spill. It doesn't matter if parts of the parcels extent beyond the buffer, only that you are selecting appropriate parcels for contacting by the EMS team. 
To answer your question though, you could do a Clip on the parcels using the buffer as a cookie cutter. This will preserve all the parcel areas inside the buffer and delete the portions of the parcels outside the buffer. But again, this isn't what you want to do in this case. We want to identify parcels that need contacting and by clipping them, you are not representing the true shape of the parcel.

Work with the Select by Location tool and experiment with different "selection method" options. Remember than when you run this tool, all it is doing is creating a set of selected features. If you don't like the results or want to see a different selection, simply undo the selection (clear selected features) and try again.

Fidel Zebadua

unread,
Apr 3, 2013, 2:28:19 AM4/3/13
to usu-nr-...@googlegroups.com
Hello Shannon,
I have been trying several times to export my four pages for lab 8 and only the index map is exported into all the different 4 pages. I have read the instructions and watched the tutorial videos and I just cannot find the way to correct that. Could you please help me to export the four different pages. I just turned in the lab assignment tonight because I do not want to stay behind and I want to start working with lab 9 ASAP. Thanks for your time.

Fidel Zebadua

unread,
Apr 3, 2013, 2:49:41 AM4/3/13
to usu-nr-...@googlegroups.com
I think I found the way for exporting the four different pages. I know it is late but finally I could figure out. Thanks for your time.

Shannon Wing Belmont

unread,
Apr 3, 2013, 9:07:12 AM4/3/13
to usu-nr-...@googlegroups.com
Glad you worked it out, Fidel~ way to persevere!

Fidel Zebadua

unread,
Apr 3, 2013, 1:14:15 PM4/3/13
to usu-nr-...@googlegroups.com
Thank you. Now I am excited because I am not late. I submitted the lab 8 again because now all the maps are together.
Reply all
Reply to author
Forward
0 new messages