Proceed to GeoCommunity Home Page


SpatialNewsGIS Data DepotGeoImaging ChannelGIS and MappingSoftwareGIS JobsGeoBids-RFPsGeoCommunity MarketplaceGIS Event Listings
HomeLoginAccountsAboutContactAdvertiseSearchFAQsForumsCartFree Newsletter

Sponsored by:


TOPICS
Today's News

Submit News

Feature Articles

Product Reviews

Education

News Affiliates

Discussions

Newsletters

Email Lists

Polls

Editor's Corner


SpatialNews Daily Newswire!
Subscribe now!

Latest Industry Headlines
SiteVision GIS Partnership With City of Roanoke VA Goes Live
Garmin® Introduces Delta™ Upland Remote Trainer with Beeper
Caliper Offers Updated Chile Data for Use with Maptitude 2013
Southampton’s Go! Rhinos Trail Mapped by Ordnance Survey
New Approach to Measuring Coral Growth Offers Valuable Tool for Reef Managers
Topo ly - Tailor-Fit for Companies' Online Mapping Needs

Latest GeoBids-RFPs
Nautical Charts*Poland
Software & Telemetry GPS
Spatial Data Management-DC
Geospatial and Mapping-DC
Next-Gen 911-MO

Recent Job Opportunities
Planner/GIS Specialist
Team Leader- Grape Supply Systems
Geospatial Developer

Recent Discussions
Raster images
cartographic symbology
Telephone Exchange areas in Europe
Problem showcasing Vector map on Windows CE device
Base map

GeoCommunity Mailing List
 
Mailing List Archives

Subject: GISList: Table woes in AML land
Date:  07/31/2003 01:50:01 PM
From:  Analisa Gunnell



Greetings fellow listers,=20

I am running an AML to determine areas of high watershed protection priorit=
y using a 6th field HUC coverage and numerous other data sets. The AML bas=
ically begins by doing an Intersect on the coverages, and then a relate. O=
nce the relate is set, I am working on doing basic math on the table to ide=
ntify percentage of intersected areas (for polygon coverages), mi/mi2 (for =
line coverages), and then frequency (for point coverages). The problem is =
this, for some reason the aml will not calculate my mi/mi2 for line coverag=
es. This is the code that I am first tried using:

relate add int_rel %p%.frq info huc_num2 huc_num2 linear rw
sel shed6.pat
&if %fet% =3D poly &then
ca %p% =3D int_rel//area / area * 100
--->&if %fet% =3D line &then
ca %p% =3D int_rel//length * 0.0006213711922 / area * 0.00000038610=
03
&if %fet% =3D point &then
ca %p% =3D int_rel//frequency

=20
This worked great for polygons and points but gave me 0 values for lines.=
=20=20

I then tried to break up the equation into two parts, since the table would=
not recognize parenthesis around the second portion of the equation (/ are=
a * 0.0000003861003) reading it as a "(area does not exist". Here is my um=
pteenth attempt:


relate add int_rel %p%.frq info huc_num2 huc_num2 linear rw
sel shed6.pat
&if %fet% =3D poly &then
ca %p% =3D int_rel//area / area * 100
--->&if %fet% =3D line &then
ca %p% =3D int_rel//length * 0.0006213711922 <-- converts meters to=
miles
&if %fet% =3D line &then
ca %p% =3D %p% / area * 0.0000003861003 <-- divides the above equat=
ion by square miles (mi/mi2 hopefully)
&if %fet% =3D point &then
ca %p% =3D int_rel//frequency

Which still gives me null values for my intersected line items. Anyway, it=
is probably obvious that I am not aml savvy, but if any of you are and can=
see my algebraic table oversight, your insight would be invaluably useful.=
Thanks!




Analisa Noel Gunnell=20
GIS Technician=20
Ecotrust=20
721 NW Ninth Avenue, Suite 200=20
Portland, Oregon=20
97209=20
503.467.0750
analisa@ecotrust.org=20
www.ecotrust.org=20
www.inforain.org
CONSERVATION ECONOMY
ECOLOGY-ECONOMY-EQUITY
=A0


To unsubscribe, write to gislist-unsubscribe@geocomm.com
________________________________________________________________________
GeoCommunity GeoBids - less than $1 per day!
Get Access to the latest GIS & Geospatial Industry RFPs and bids
http://www.geobids.com

Online Archive of GISList (and numerous others) available at:
http://spatialnews.geocomm.com/community/lists/

Setup a GeoCommunity Account and have access to
the GISDataDepot DRG & DOQQ Catalog
http://www.geocomm.com/login.php


Sponsored by:

For information
regarding
advertising rates
Click Here!

Copyright© 1995-2012 MindSites Group / Privacy Policy

GeoCommunity™, Wireless Developer Network™, GIS Data Depot®, and Spatial News™
including all logos and other service marks
are registered trademarks and trade communities of
MindSites Group