Editing street indexes
#1
Posted 24 June 2009 - 10:30 AM
I'm tempted to bring the whole shebang into Excel and separate the pages from the grid refs as separate columns, but I'm not sure that there's any automatic way to do this. Sitting down and banging a tab manually in between each of these is not my idea of fun. Any Excel/Word experts out there that can suggest something?
Thanks!
Charles Syrett
Map Graphics
http://www.mapgraphics.com
#2
Posted 24 June 2009 - 11:21 AM
#3
Posted 24 June 2009 - 11:34 AM
I've been asked to edit some street map indexes that list streets by name, followed by tab, followed by page and index grid reference. For example: Bloor St. W. (tab) 39--M14. The main thing I'm being asked to check is that the grid reference is corresponds to the correct page number. (In the example, I would ensure that M14 really is on page 39, and not on, say, 49.)
I'm tempted to bring the whole shebang into Excel and separate the pages from the grid refs as separate columns, but I'm not sure that there's any automatic way to do this. Sitting down and banging a tab manually in between each of these is not my idea of fun. Any Excel/Word experts out there that can suggest something?
Thanks!
Charles Syrett
Map Graphics
http://www.mapgraphics.com
When opening the file in Excel the text import wizard will prompt you to choose Delimited as the original data type, then choose Tab as the delimeter.
#4
Posted 24 June 2009 - 12:05 PM
LEFT ([source], SEARCH([source],"-",1)-1)
RIGHT ([source], (LEN ([source]) - SEARCH([source],"-",2))
Alternatively, you could replace all "--" with tab in a text editor and import as tab delimited.
For complex reconfiguring, I usually use FileMaker, but any decent database program would do it. I find it has more tools for selecting and altering. FME would do this too.
Head of Production, Hedberg Maps, Minneapolis, MN USA
maphead.blogspot.com
"Life's too short for bad maps"
#5
Posted 24 June 2009 - 01:48 PM
Charles Syrett
Map Graphics
http://www.mapgraphics.com
Excel will import as tab delimited. You could use a formula using SEARCH and the LEFT and RIGHT functions. In this case,
LEFT ([source], SEARCH([source],"-",1)-1)
would return "39" andRIGHT ([source], (LEN ([source]) - SEARCH([source],"-",2))
should return "M14".
Alternatively, you could replace all "--" with tab in a text editor and import as tab delimited.
For complex reconfiguring, I usually use FileMaker, but any decent database program would do it. I find it has more tools for selecting and altering. FME would do this too.
#6
Posted 24 June 2009 - 02:16 PM
One thing you could try is importing as tab delimited, then replace the "--" in the 2nd column with some (single) character that won't occur anywhere in the index, like "@". Then re-save it as CSV but specify that same characted as seperator, and don't let it quote any output values. Re-import and specify the special character again as seperator. That *could* (would? should?) do the trick.
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#7
Posted 24 June 2009 - 03:31 PM
I know from you activity at georeference.org that you're also a manifold user. Why don't you give a try ?
As far as I unterstood you problem you can do it using Copy firt token/ Copy last token in tabular view of your data.
http://www.manifold....ext_strings.htm
Hope it helps,
Gregory
#8
Posted 24 June 2009 - 04:37 PM
#9
Posted 24 June 2009 - 06:48 PM
....or in this case I would just open in excel and use Data > Text to columns to split the column at -- When I found this tool I found myself using it a lot.
Bingo -- that did it! Right under my nose the whole time.
Charles Syrett
Map Graphics
http://www.mapgraphics.com
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

Canada
Back to top
United States

Netherlands
Poland
New Zealand








