[UW-GIS-L] AML issues

Stefan Coe scoe at u.washington.edu
Tue Aug 30 11:11:40 PDT 2005


Also, in your clean command you specify line so you are attempting to create
line topology out of a point. You actually need to use build instead of
clean and specify point.

-Stefan


----- Original Message ----- 
From: "Shannon McCluskey" <shanmcc at u.washington.edu>
To: <uw-gis-l at u.washington.edu>
Sent: Tuesday, August 30, 2005 10:58 AM
Subject: [UW-GIS-L] AML issues


> Dear List,
>
> I am hoping that someone can help me out of a wee technical problem... I
> have an AML file that was used to generate lines from csv files, to make
> line coverages, clean those lines, then buffer them to make polygons,
> build topology, then erase land out using a land coverage, deleting a
> few of the intermediary coverage steps, then intersect the final
> coverage with a fish areas coverage. This worked reasonably well for my
> line files. Now I've been trying to do the same thing with point csv
> files. The point coverages are made no worries, but the model always
> bails out of the buffer step, claiming not to be able to open the point
> cov. I can buffer the point cov using the buffer tool within analysis
> tools, but can not buffer it using the buffer command at the Arc prompt.
> I get the same error message that it cannot open the point cov and is
> bailing.
>
> Any sage advice?
>
> Thanks for your time and help.
> -Shannon
>
> Line AML: (with only one file in list)
> /*
> /* A script to import x,y, coma delimited files
> /* of observation line data and create buffered shapes
> /* then erase islands to create a resulting "use area"
> /*
> &do input &list 22
> generate cov%input%
> input Z:\students\shannon\wmodel\source\Jpod\J_1991lines\j%input%_1991.csv
> line
> q
> /*
> /* take lines, build topology, buffer, and erase islands
> /*
> clean cov%input% cov%input%cl # # line
> buffer cov%input%cl cov%input%b # # 2500
> build cov%input%b
> erase cov%input%b z:\students\shannon\wmodel\source\Baselayers\landcov
> final%input%
> /*
> /* clean up
> /*
> kill cov%input% all
> kill cov%input%b all
> /*
> /*
> intersect final%input%
> z:\students\shannon\wmodel\source\Baselayers\fishareascov stp1%input%ca
> eliminate stp1%input%ca final%input%ca
> res area < 100000
> ~
> N
> N
> kill stp1%input%ca
> &end
> &return
>
> Point AML: (With only one file in list)
> /*
> /* A script to import x,y, coma delimited files
> /* of observation point data and create buffered shapes
> /* then erase islands to create a resulting "use area"
> /*
> &echo &on
> &do input &list 21
> generate cov%input%
> input c:\workspace\source\Jpod\J_1991points\j%input%_1991pt.csv
> point
> q
> /*
> /* take points, buffer, and erase islands
> /*
> clean cov%input% cov%input%cl # # line
> buffer cov%input% cov%input%b # # 2500
> build cov%input%b
> erase cov%input%b c:\workspace\source\Baselayers\landcov final%input%
> /*
> /* clean up
> /*
> kill cov%input% all
> kill cov%input%b all
> /*
> /*
> intersect final%input% c:\workspace\source\Baselayers\fishareascov
> stp1%input%ca
> eliminate stp1%input%ca final%input%ca
> res area < 100000
> ~
> N
> N
> kill stp1%input%ca
> &end
> &return
>
>
> _______________________________________________
> Uw-gis-l mailing list
> Uw-gis-l at u.washington.edu
> http://mailman1.u.washington.edu/mailman/listinfo/uw-gis-l
>



More information about the Uw-gis-l mailing list