<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
&nbsp;&nbsp;&nbsp; Hi dear list.<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; I am trying to implement in java mapscript an application that
draws on-the-fly contours around areas with a high ocurrence rate of a
given event, something like the topics discussed in here:
<a class="moz-txt-link-freetext" href="http://article.gmane.org/gmane.comp.gis.mapserver.user/17924">http://article.gmane.org/gmane.comp.gis.mapserver.user/17924</a>. <br>
&nbsp;&nbsp;&nbsp; I understand it is not easy, so I am taking my steps one at a time.
Being quite new to GIS programming, I am going trough the usual misteps.<br>
<br>
&nbsp;&nbsp;&nbsp; My first problem is actually dividing the area into subzones where
I can count the ocurrences of said events inside each rectangle to feed
the statistic analysis. I have tried using a graticule item on a line
layer, but I cant seem to find a query method that will give me
something I can work with (boundaries, polygons, the works), even
though the grid has been drawn quite nicelly. <br>
&nbsp;&nbsp;&nbsp; I understand I probably missed completelly the point of a GRID
object inside a LINE type layer, but is there some built in way (trough
grid or any other method) to chop a layer in equal rectangles so I can
iterate trough each of them checking for ocorrences? <br>
<br>
&nbsp;&nbsp;&nbsp; Thanks a lot.<br>
<br>
<div class="moz-signature">-- <br>
<font color="#000000" face="Verdana, Arial, Helvetica" size="1">
<br>
<br>
<font color="#000000" size="2"><b>Rodrigo Del C. Andrade</b></font><br>
<font color="#606060"><i>Estagi&aacute;rio N&iacute;vel Superior</i></font><br>
<font color="#606060"><i>SIC - SSE - Solu&ccedil;&otilde;es Seguran&ccedil;a P&uacute;blica</i></font><br>
<br>
<font color="#000080"><b>D&Iacute;GITRO TECNOLOGIA</b></font><br>
<font color="#000000"><b>E-mail:</b></font>
<a href="mailto:rodrigo.andrade@digitro.com.br"><font color="#606060">rodrigo.andrade@digitro.com.br</font></a><br>
<font color="#000000"><b>Fone:</b></font>
<font color="#000000">+55 48 3281-7390 / +55 48 3281-7000</font><br>
<font color="#000000"><b>Fax:</b></font>
<font color="#000000">+55 48 3281-7299</font><br>
<font color="#000000"><b>Site:</b></font>
<a href="http://www.digitro.com"><font color="#606060">www.digitro.com</font></a>
</font></div>
</body>
</html>