Hi Vitaly,

I see you've posted this question before but didn't get any response.
This probably means that there aren't many (any ?) people on the list
using geotools with mapinfo data, so you're going to have to do a bit
of exploring yourself...

There are some mif data support classes in package
org.geotools.data.mif that claim to be able to read a MIF file and get
feature info.  This is one of the unsupported modules and I haven't
used it myself.  The relevant jar name will be gt2-mif... or gt-mif...
depending on which version of geotools you are using.

Have a look at the javadocs at:
http://javadoc.geotools.fr/2.5/org/geotools/data/mif/package-summary.html

You might also consider converting you mif data to shapefile data with
one of the free utilities that are floating around on the web (google
is your friend for this).  Geotools has very good support for
shapefiles.

Once you've got your feature data into geotools you can create the
matrix that you need and intersect the input feature data with matrix
cells.  Your message implies that you want the results to be in a
series of rasters (grid coverages) but I don't know if that's what you
meant.

Have a go at reading your feature data into geotools (if you decide to
convert to shapefile first you'll find the User Manual very helpful -
http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile)
then come back to the list with a bit more info about your output
requirements.

Hope this is some help

Michael


2008/8/29 Vitaly Baranovsky 2 <[EMAIL PROTECTED]>:
>
> Good day!
>
> I'm very new to GIS. Please, help me...
>
> I have a map in mid-mif format. I need to create matrix, that describe
> average height and dominant territory type (ground, forest, water) for each
> 50*50m square of territory.
>
> For example, I have map of 1*1 square km. I need to divide this territory to
> 20*20 cells. And for each cell save to some file it's average height and
> dominant territory type. How can I do this?
>
> Thank you very much!
> --
> View this message in context: 
> http://www.nabble.com/How-can-I-convert-mid-mif-map-to-matrix-of-big-cells-with-average-territory-information--tp19217463p19217463.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to