So on a complete whim and for no reason that I know of (possibly related to the whole mainland aesthetics discussion), I decided to write a little script that would list all the parcels in a region, in some sort of map-like form.
I had all sorts of techie ideas in my head about little survey ‘bots that would fly around 200m above the ground, communicating to a central controller using llRegionSay() and all, but I was disappointed. :) Turns out llGetParcelDetails() has no range-limit (within the current sim), so a script just sitting under a tree in the Park can see the name and description of every parcel in the Rise.
Here’s the output from my current script (with the longer strings trimmed to fit on the page):
Hughes Rise:
000 000 000 000 001 001 001 001 002 002 003 004 005 005 006 006
000 000 000 000 001 001 001 001 002 002 003 007 007 005 006 006
000 000 000 000 001 001 001 001 008 008 009 007 007 005 005 006
000 000 000 000 001 001 001 001 008 008 009 010 010 010 005 006
011 011 011 011 012 012 013 013 014 014 015 016 010 010 005 005
011 011 011 011 017 018 019 020 014 014 015 016 010 010 021 005
011 011 011 011 017 018 019 020 009 009 022 022 010 010 021 005
011 011 023 023 023 023 020 020 020 024 024 024 024 025 024 002
026 026 023 023 023 023 020 020 020 024 024 024 024 025 024 002
026 026 023 023 023 023 020 020 027 027 024 024 024 024 024 024
028 028 023 023 023 023 029 029 030 031 024 024 024 032 032 024
028 028 033 033 033 033 029 029 030 031 024 024 024 032 032 024
028 028 033 033 023 023 029 029 034 034 035 035 036 037 038 038
039 039 033 040 040 040 023 023 041 041 042 042 036 037 038 038
043 043 044 044 045 045 023 023 046 046 047 047 036 036 036 048
043 043 043 043 045 045 023 023 049 049 050 050 036 036 036 048000: free resell freebie store full perm: somethings are free , …
001: Computer Land:
002: Hughes Rise :
003: : My first house
004: Galaxy Design: Primland
005: Protected Land: Protected Land
006: Hughes Rise (25,224) Mature 1600m:
007: Galaxy Design real estate – Hughes Rise 6: Flat green land …
008: oms studio 2:
009: The Camel’s Prim Farm:
010: Sadie’s Dyke Bar & Butch Store: Quiet hangout. Dressing room, …
011: Abandoned Land: Land abandoned by My World! (group) on 28-Jan-2009
012: Land ID:21088 (B.O.S) Hughes Rise, Green grassy flat land: Rent …
013: Land ID:21089 (B.O.S) Hughes Rise, Green grassy flat land: Rent …
014: Abandoned Land: Land abandoned by Ash Alecto on 14-Dec-2008
015: Abandoned Land: Land abandoned by Errol Bazar on 09-Oct-2008
016: Himmis Kleines Eckchen ;):
017: Land ID:21087 (B.O.S) Hughes Rise, Green grassy flat land: Rent …
018: Land ID:21086 (B.O.S) Hughes Rise, Green grassy flat land: Rent …
019: Land ID:21085 (B.O.S) Hughes Rise, Green grassy flat land: Rent …
020: Microparadise: Some Land! Woooot!
021: Ad-Vatar and The Question Center: Dr. Destiny
022: Abandoned Land: Land abandoned by Cricket Zipper on 31-Dec-2008
023: Workshop More Prim Farm:
024: Workshop Prim Farm: Workshop Prim Farm
025: Hughes Rise – First Land: Land For The Landless
026: =Hughes Rise=: objects included
027: La’s Tipi: Keep Out
028: Julie’s Place: Julie’s Place
029: Hughes Rise Park, upper section:
030: Dale Inis random Hughes Rise land:
031: oms studio 1:
032: Jilly and om’s Japanese tryst:
033: Bippie’s Home: Bippie and Halo’s home. Friends welcome. IM one …
034: Gray Estates Part Deux:
035: My Secret Hideaway: Sometimes you want to go, where nobody …
036: Sweetwater Retreat (240,232) Mature 1536m:
037: Hughes Rise: Hughes Rise
038: Heavenly Bodies Tattoos & Shapes: Tattoo, Tattoos, Shapes, …
039: Scott’s Seat lowlands:
040: AVATARS AVATARS,Batman,Pooh Bear,Star Wars,Betty Boop, …
041: Hughes Rise (216,145) Mature 512m:
042: DAT LAND:
043: Scott’s Seat: Land in the Mist
044: MeadowSide: Portal to Happiness
045: Workshop: Wherever you go etc.
046: Marqs Gettaway:
047: Workshop Annex: Workshop Annex
048: AI WorkShop: AI Skybox Workshop
049: Abandoned Land: Land abandoned by bWhittl Kips on 08-Jan-2009
050: A Garden : Murasaki Suisei
The map is upside-down, I think, and possibly backwards. And/or sideways. Also it’s numbers instead of some nice visual.
The next thing I’m thinking of is learning enough SVG to produce a more map-like map, with boundaries drawn as lines and all, from the same data (a strictly inworld prim-based version would also be possible, but would probably require quite a few prims). I may or may not ever get around to doing that. :) I might also throw the script into the Wiki at some point, if I think it’s reached the point of non-triviality.
It would also be fun to overlay the parcel map on top of the visual maps that the Second Life API makes available (like the one at the top of the posting there; click through for the API version). Clever SVG might be able to do that also. If anyone knows of anyone else doing anything like any of this, send email or post a comment!
And then I’m still planning a posting about inworld Profile Displayers, which I have a picture all taken for and more or less know what the words will say, but have just not gotten around to. Busy, busy…
Filed under: scripting, Second Life | Tagged: hacks, linden scripting language, lsl, mapping, maps, parcel, region, scripts, secondlife | 11 Comments »