Measure area tool??

1,260 views
Skip to first unread message

esrispy

unread,
Dec 14, 2007, 7:55:13 AM12/14/07
to MapInfo-L
Isnt there a built in "Measure area tool" in mapinfo? like the "Ruler
" to measure distance?

In that case someone must have written a mb routine for this right?

Did some similar stuff with greens theorem a couple years back but
thats when you dont have any built in Area() functions which I am sure
Mapinfo must have.

To edit some polygon layer or create a new one and make it editable
and stuff like that is way to many steps for the common user.
One quick and dirty way would be to make mapabsic tool that does this
and stores a temporary tab file and erase it afterwards..

Bill Thoen

unread,
Dec 14, 2007, 9:28:09 AM12/14/07
to mapi...@googlegroups.com
Use the Selector tool and just double-click on a polygon, or in SQL, you
can use the Area() function.

esrispy

unread,
Dec 14, 2007, 9:35:44 AM12/14/07
to MapInfo-L
yes I know, but usally the user wants to measure something freehand,
without setting some? certain layer selectable and so on.
And usally the area of interest is of no correlation to a certain
polygon layer.

David Reid

unread,
Dec 14, 2007, 9:52:09 AM12/14/07
to mapi...@googlegroups.com
The layer does have to be selectable, but not editable, you can still double
click to get the area.

The only other "quick task" way of doing it (that is without a custom MBX,
would be to make the cosmetic layer editable, take the polygon tool, draw
out what you wish to sample, but you'll still have to double click it to get
the area.

It's possible someone has a MBX out there that will calc. area on the fly
similar to the distance tool, hopefully, they'll read this thread :)

David Reid

Driver, Greg 9434

unread,
Dec 14, 2007, 9:58:10 AM12/14/07
to Turbo...@hotmail.com, mapi...@googlegroups.com
I've written something that will allow you to freehand draw a polygon in
the cosmetic layer and display the area in the currently sent area
units.


Greg Driver

System Administrator
Applications Support
ICT
NOT PROTECTIVELY MARKED


-----Original Message-----
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On
Behalf Of esrispy
Sent: 14 December 2007 14:36
To: MapInfo-L
Subject: [MI-L] Re: Measure area tool??

yes I know, but usally the user wants to measure something freehand,
without setting some? certain layer selectable and so on. And usally the
area of interest is of no correlation to a certain polygon layer.


*Internet communications are not secure and therefore Surrey Police does not accept legal responsibility for the contents of this message. This email and any attachments may be confidential. They may contain privileged information and are intended for the named addressee (s) only. They must not be distributed without our consent. If you are not the intended recipient, please notify us immediately and delete the message and any attachments from your computer, do not disclose, distribute, or retain this email or any part of it. Unless expressly stated, opinions in this email are those of the individual sender, and not of Surrey Police. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking. Surrey Police reserves the right to monitor all email communications through their networks.*

area_measure.MBX

esrispy

unread,
Dec 14, 2007, 10:14:22 AM12/14/07
to MapInfo-L
Tried to run the area_measure.MBX but nothing shows up, how is it
supposed to work?
maby some "units" or mapinfo version issue?
8,5 here, and "non earth meters" here...


On 14 Dec, 15:58, "Driver, Greg 9434"
> area_measure.MBX
> 2KHämta- Dölj citerad text -
>
> - Visa citerad text -

Driver, Greg 9434

unread,
Dec 14, 2007, 10:25:22 AM12/14/07
to mapi...@googlegroups.com
It adds a pushbutton to the 'TOOLS' toolbar, which you have to press before it will work! It's set to work for MI v5.5 onwards as well.

Simpson Jan

unread,
Dec 16, 2007, 6:43:03 PM12/16/07
to mapi...@googlegroups.com

Hi

 

I have a simple tool that allows the user to draw AREAS or LINES into the cosmetic layer. The tool is designed to allow the user to draw (freehand) areas/lines so they can measure ‘part areas’ or larger areas.

 

In the valuation of land arena, this allows valuers to ‘pick off’ areas.

It’s often used in conjunction with aerial imagery to measure rural properties, building footprints, etc

 

Area and distance measurements are displayed in a Print window. This allows the user to ‘copy’ and ‘paste’ the results if needed. A Note/message is also displayed with the summary details of your drawn objects. The Print window displays each individual object's area/perimeter/distance is displayed as well as the total/cumulative area/perimeter.

Please find a copy attached (MBX and MB)

 

Sample Screen:

 

Notes:

You must have the cosmetic layer editable to draw your objects

 

Left most button draws regions/polygons

2nd button draws lines

Third button measures the objects (all objects in the cosmetic layer will be selected and measured)

 

Clear the cosmetic layer if you want to draw new objects 

 

Designed to measure distance in Metres and area in M2/Ha

 

Hope it helps!

As is where is...feel free to use the code, modify and improve.

If you do improve it, I’d appreciate a chance to look and the changes/improvements

 

 

 

Jan

 

 

 

Mr Jan S Simpson

 

Systems Officer | State Valuation Services

Telephone: 07 5451-2402 Facsimile: 07 5451-2260

Email: jan.s...@nrw.qld.gov.au

 www.nrw.qld.gov.au

 

Department of Natural Resources and Water

52-64 Currie Street Nambour Qld 4560

-----Original Message-----
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Bill Thoen
Sent: Saturday, 15 December 2007 12:28 AM
To: mapi...@googlegroups.com
Subject: [MI-L] Re: Measure area tool??

 

 

Use the Selector tool and just double-click on a polygon, or in SQL, you

************************************************************************
The information in this email together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this email message is prohibited, unless
as a necessary part of Departmental business.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.
************************************************************************

Area_Calculator.MBX
Area_Calculator.mb
Reply all
Reply to author
Forward
0 new messages