Sexy Map Application

Overview

I'm playing with map making to visually explain PersonalTelco's coverage around PortlandOregon. I'm mostly interested in making the map look sexy. I'm using the City of Portland Office of Transportation Bike Map as a starting point. I grabbed a few tools on my AppleMacintosh that are simple to play with by hand and then started automating parts. I'm using AppleScript because it's been a while and I am curious where it's at these days. --DarrinEden

To Do

The code for a zoomed in map is incomplete and fubared at best. I'm still fixing the zoom map by hand.

Code

property dotRadius : 10 property resultWidth : 450

global myList

global cropNWx global cropNWy global cropSEx global cropSEy

global scaleX global scaleY

global myPage

global pdxSpotList global pdxMapOriginal

tell application "Finder" to set homePath to (home as string)

set pdxSpotList to (homePath & "Desktop:spots.xls") set pdxMapOriginal to (homePath & "Desktop:bikemap.pdf" as alias)

on main()

end main

-- Prepare data for building entire map of Portland on setEntireMap()

end setEntireMap

-- Prepare data for building downtown Portland on setDowntownMap()

end setDowntownMap

-- Use Photoshop to draw on a PDF version of the biking routes of Portland on drawMap()

end drawMap

-- Write down all the imagemap data for a clickable map on a web page on linkMap()

end linkMap

-- Load data for spots from a spreadsheet on loadList()

end loadList

main()

Data

Pioneer Courthouse Square Area

514

737

Powells Bookstore

499

715

Stumptown Café Ash

536

722

Anna Bannanas

439

653

World Cup Coffee and Tea

465

693

Ecotrust

502

678

Coffee Plant

513

733

Backspace

525

713

South Park Blocks

486

781

Moonlight Staffing at PGE Park

452

736

Couch Park

452

690

The Basement Public House

635

776

Red Wing Coffee and Baking

604

804

Rose and Raindrop

637

745

Subway Sandwich Restaurant

756

800

Hawthorne Hosteling International

735

800

Costellos Travel Caffe

690

639

Hollywood Library

792

628

Arbor Lodge Park

441

402

Irving Park

689

550

Ugly Mug Coffeehouse

622

1125

The Crow Bar

534

526

Cafe La Dolce Vita

645

472

Urban Grind Coffeehouse

701

684

Cedar Hills Crossing Shopping Center

29

956

Portland Independent Media Center

752

769

Northstar Coffeehouse

508

356

Goldrush Coffee Bar

602

592

WSMF

722

760

Rocky Butte

1062

597

Bar 71

545

723

Daily Double

450

718

Vivace Coffee House

420

647

Dittos

582

541

Urban Grind In The Pearl

482

672

Crema Bakery and Cafe

722

735

Stumptown Café Belmont

748

771

Stumptown Café Division

817

847

Caffe Uno

798

626

Old Town Pizza

542

708

Powells Technical Bookstore

514

715

City Club of Portland/O'Bryant Square

513

721

Muddy's Coffeehouse

534

544

The Fresh Pot

530

512

Nocturnal

667

724

The Black Rooster Cafe

503

726

Staccato Gelato

718

713

Wax Cafe

502

461

Westover Towers

390

669

Foxfire Teas

825

549

Humboldt

590

498

Veganopolis

531

732

Bar XV

546

720


CategorySoftware