Land (database table)

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Filled in a few more descriptions for database fields.)
m (Added even more information on some of the database fields.)
Line 88: Line 88:
 
'''IsGroupOwned'''
 
'''IsGroupOwned'''
 
<br>
 
<br>
To be identified.
+
This is set to 1 if the parcel is owned by a group. If it is not group owned it will be 0.
 
<br>
 
<br>
 
<br>
 
<br>
Line 103: Line 103:
 
'''Category'''
 
'''Category'''
 
<br>
 
<br>
To be identified.
+
This specifies the category the parcel of land is in when doing a search. A value of 0 indicates no category was set, -1 is any category, and positive numbers indicate a specific category.
 
<br>
 
<br>
 
<br>
 
<br>
 
'''ClaimDate'''
 
'''ClaimDate'''
 
<br>
 
<br>
To be identified.
+
The date the parcel of land was claimed by an avatar (ie. the date of sale).
 
<br>
 
<br>
 
<br>
 
<br>
Line 143: Line 143:
 
'''MediaAutoScale'''
 
'''MediaAutoScale'''
 
<br>
 
<br>
To be identified.
+
A boolean (1 or 0) indicating whether media should be stretched to fit the face of the prim it's displayed on.
 
<br>
 
<br>
 
<br>
 
<br>
Line 178: Line 178:
 
'''UserLocationX'''
 
'''UserLocationX'''
 
<br>
 
<br>
To be identified.
+
The X co-ordinate of the parcel's landing zone (if set).
 
<br>
 
<br>
 
<br>
 
<br>
 
'''UserLocationY'''
 
'''UserLocationY'''
 
<br>
 
<br>
To be identified.
+
The Y co-ordinate of the parcel's landing zone (if set).
 
<br>
 
<br>
 
<br>
 
<br>
 
'''UserLocationZ'''
 
'''UserLocationZ'''
 
<br>
 
<br>
To be identified.
+
The Z co-ordinate of the parcel's landing zone (if set).
 
<br>
 
<br>
 
<br>
 
<br>

Revision as of 18:51, 2 February 2011


Estate Managers Records managers of estates       (back to Database Documentation)

The current structure of the Land table is as follows:

Field
TypeNullKeyDefaultExtra
 
UUIDvarchar(255)NOPRI
RegionUUIDvarchar(255)YES
LocalLandIDint(11)YES
BitmaplongblobYES
Namevarchar(255)YES
Descriptionvarchar(255)YES
OwnerUUIDvarchar(255)YES
IsGroupOwnedint(11)YES
Areaint(11)YES
AuctionIDint(11)YES
Categoryint(11)YES
ClaimDateint(11)YES
ClaimPriceint(11)YES
GroupUUIDvarchar(255)YES
SalePriceint(11)YES
LandStatusint(11)YES
LandFlagsint(11)YES
MediaAutoScaleint(11)YES
MediaTextureUUIDvarchar(255)YES
MediaURLvarchar(255)YES
MUSICURLvarchar(255)YES
PasshoursfloatYES
PassPriceint(11)YES
SnapshotUUIDvarchar(255)YES
UserLocationXint(11)YES
UserLocationYint(11)YES
UserLocationZint(11)YES
UserLookAtXint(11)YES
UserLookAtYint(11)YES
UserLookAtZint(11)YES
AuthBuyerIDvarchar(255)NO00000000-0000-0000-0000-000000000000
OtherCleanTimeint(11)NO
Dwellint(11)NO


      (back to Database Documentation)


UUID
The unique ID of the Land Parcel.

RegionUUID
The UUID of the region containing this land parcel.

LocalLandID
The number of the parcel

Bitmap
A block of 512 bytes (4,096 bits) of data with each bit of each byte indicating whether a 4m x 4m piece of a region (the smallest selectable) is in the parcel of land.
Additional data is needed on the organization of the bits in each byte.

Name
The name of this land parcel.

Description
A description of this land parcel.

OwnerUUID
The UUID of the user who owns this land parcel.

IsGroupOwned
This is set to 1 if the parcel is owned by a group. If it is not group owned it will be 0.

Area
The size of the parcel (in square meters).

AuctionID
To be identified.

Category
This specifies the category the parcel of land is in when doing a search. A value of 0 indicates no category was set, -1 is any category, and positive numbers indicate a specific category.

ClaimDate
The date the parcel of land was claimed by an avatar (ie. the date of sale).

ClaimPrice
To be identified.

GroupUUID
To be identified when Groups are implemented.

SalePrice
If the land is for sale this is the price asked.

LandStatus
To be identified.

LandFlags
To be identified.

LandingType
The landing point setting for the parcel: 0 is Blocked, 1 is 1anding point set, 2 is for landing allowed anywhere.

MediaAutoScale
A boolean (1 or 0) indicating whether media should be stretched to fit the face of the prim it's displayed on.

MediaTextureUUID
The UUID of a texture. Objects using this texture will show a video stream or web page after they click the video play arrow in their viewer.

MediaURL
The URL of the video stream, or media, to be played in this land.

MusicURL
The URL of the Music station to be played in this land.

Passhours
The length of time that a pass to his parcel is valid.

PassPrice
The cost of a pass to this parcel.

SnapshotUUID
The UUID (key) on the asset table of a picture of this parcel.

UserLocationX
The X co-ordinate of the parcel's landing zone (if set).

UserLocationY
The Y co-ordinate of the parcel's landing zone (if set).

UserLocationZ
The Z co-ordinate of the parcel's landing zone (if set).

UserLookAtX
To be identified.

UserLookAtY
To be identified.

UserLookAtZ
To be identified.

AuthBuyID
The UUID of the User authorised to buy this land.

OtherCleanTime
Other residents objects in the parcel will be automatically returned after this many minutes has elapsed. Set to 0 to disable auto-return of objects.

Dwell
To be identified.


      (back to Database Documentation)

Personal tools
General
About This Wiki