Hi,

I'm new with geotools and I'd like to know how to draw a polygon,line or
point and to get coordinates (lat,long) of the figure drew.

Hope t read you soon

Thanks

On Sat, Sep 1, 2012 at 10:33 AM, <
[email protected]> wrote:

> Send GeoTools-GT2-Users mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GeoTools-GT2-Users digest..."
>
>
> Today's Topics:
>
>    1. Strange behaviour of imageio ImageWriter when importing gt 9
>       snapshot libraries ([email protected])
>    2. Re: Effective getFeatureCount for the shapefile (Andrea Aime)
>    3. Re: gvSIG CE codesprint: geotools integration (Gabriel Roldan)
>    4. Re: gvSIG CE codesprint: geotools integration (Fernando Gonz?lez)
>    5. Re: gvSIG CE codesprint: geotools integration (Andrea Aime)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 30 Aug 2012 16:52:33 +0200
> From: <[email protected]>
> Subject: [Geotools-gt2-users] Strange behaviour of imageio ImageWriter
>         when importing gt 9 snapshot libraries
> To: <[email protected]>
> Cc: [email protected]
> Message-ID:
>         <
> 95e4168ae5601d4b85d331ed4b8822660bb5e59...@srvshpcl07ex2.itshessen.hessen.de
> >
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi again,
> your advice to let the writer create an ImageWriteParam did it. Here are
> no side effects whith the jts library visible.
> But it's still strange. I never had such effects before in a java project.
> Anyway.
> Thanks a lot Simone.
> Ciao
> Albrecht
>
> -----Urspr?ngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von Simone
> Giannecchini
> Gesendet: Mittwoch, 29. August 2012 18:48
> An: Weiser, Albrecht (HZD)
> Cc: [email protected]
> Betreff: Re: [Geotools-gt2-users] Strange behaviour of imageio ImageWriter
> when importing gt 9 snapshot libraries
>
> Ciao Albrecth,
> this is rather strange.
> I would recommend using the ImageIO tiff plugin explicitly everywhere
> rather than the com.sun.media.imageio.plugins.tiff one.
> Do this explicitly with imports of TIFFImageWriteParam, Check also the
> class of your writer and tells us the complete packages for it.
>
> I suspect you are mixing sun tiff params with our writer. Best thing to do
> usually to get a proper TIFFImageWriteParam  is to ask the writer to create
> one.
>
>
> Regards,
> Simone Giannecchini
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39 333 8128928
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 30 Aug 2012 18:00:27 +0200
> From: Andrea Aime <[email protected]>
> Subject: Re: [Geotools-gt2-users] Effective getFeatureCount for the
>         shapefile
> To: Matthijs Laan <[email protected]>
> Cc: [email protected]
> Message-ID:
>         <
> ca+nxmtttjbm73_u-fuqgclklmdmcjxwha4flpyzfb60kzk1...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Thu, Aug 30, 2012 at 9:46 AM, Matthijs Laan
> <[email protected]>wrote:
>
> >
> > Doing the same with GeoTools code:
> >
> > FileChannel channel = null;
> > try {
> >     channel = new FileInputStream(dbfPath).getChannel();
> >     DbaseFileHeader dheader = new DbaseFileHeader();
> >     ByteBuffer bb = channel.map(FileChannel.MapMode.READ_ONLY, 0,
> > channel.size());
> >     dheader.readHeader(bb);
> >     return dheader.getNumRecords()
> > } finally {
> >     if(channel != null) {
> >         channel.close();
> >     }
> > }
> >
>
> Doing this is problematic, you should check the shx file, not the dbf one,
> that's the file that contains the official size of the shapefile, the dbf
> file
> could contain more rows.
>
> That said, 700ms is a massive amount of time, I've just tried against
> a set of 21 dbf files and the _total_ time to get the feature count in each
> was 33ms (a bit more than 1ms per file, that is).
> See the attached file, which also makes sure we don't try to memory
> map the whole file to just read the header
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
> -------------- next part --------------
> An HTML attachment was scrubbed...
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: DBFHeaderReader.java
> Type: application/octet-stream
> Size: 1371 bytes
> Desc: not available
>
> ------------------------------
>
> Message: 3
> Date: Thu, 30 Aug 2012 22:35:28 -0300
> From: Gabriel Roldan <[email protected]>
> Subject: Re: [Geotools-gt2-users] gvSIG CE codesprint: geotools
>         integration
> To: Fernando Gonz?lez <[email protected]>
> Cc: [email protected]
> Message-ID:
>         <CAJoZhK3dfRbSeY2BFrOrk1=
> [email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> Interesting. Congrats on the initiative. I really think its a worthy goal.
> Unfortunately I can't attend, but will be there in spirit.
>
> Cheers,
> Gabriel
>
> On Tue, Aug 28, 2012 at 12:49 PM, Fernando Gonz?lez <[email protected]>
> wrote:
> > Hi all, sorry if this is a bit offtopic.
> >
> > Some people around the gvSIGCE project are organizing a code sprint in
> > Munich[1] from the 15th to the 19th of October.
> >
> > For those who don't know, gvSIGCE[2] is a fork of gvSIG[3] and one of
> > the aims of the code sprint is to replace gvSIGCE data access layer,
> > one of the weakest points of gvSIG 1.x series, with Geotools. The
> > global aim is to rely on geotools as much as we can so that we can
> > benefit from it and try to contribute back. This means that if we
> > succeed on integrating GT on the data access layer we will likely try
> > to integrate with other parts of the library.
> >
> > So the point of my message: if any Geotools developer feels like
> > dropping by he/she will be very welcomed (which means some free beer,
> > for sure!). Don't hesitate to update the list of participants in the
> > wiki or asking me to do so.
> >
> > Cheers,
> > Fernando.
> >
> > [1]
> http://gvsigce.sourceforge.net/wiki/index.php/GvSIG_CE_Code_Sprint_in_Munich
> > [2] http://gvsigce.org/
> > [3] http://www.gvsig.org/
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > GeoTools-GT2-Users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
>
> --
> Gabriel Roldan
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 1 Sep 2012 09:31:57 +0200
> From: Fernando Gonz?lez <[email protected]>
> Subject: Re: [Geotools-gt2-users] gvSIG CE codesprint: geotools
>         integration
> To: Gabriel Roldan <[email protected]>
> Cc: [email protected]
> Message-ID:
>         <
> cajvpfbwhqujavcdvq+cqeco4d-spphmykrswj8bj5cp4xah...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks for the support Gabriel. I really hope we came out with
> something worth you spiritual attendance !
>
> On Fri, Aug 31, 2012 at 3:35 AM, Gabriel Roldan <[email protected]>
> wrote:
> > Interesting. Congrats on the initiative. I really think its a worthy
> goal.
> > Unfortunately I can't attend, but will be there in spirit.
> >
> > Cheers,
> > Gabriel
> >
> > On Tue, Aug 28, 2012 at 12:49 PM, Fernando Gonz?lez <[email protected]>
> wrote:
> >> Hi all, sorry if this is a bit offtopic.
> >>
> >> Some people around the gvSIGCE project are organizing a code sprint in
> >> Munich[1] from the 15th to the 19th of October.
> >>
> >> For those who don't know, gvSIGCE[2] is a fork of gvSIG[3] and one of
> >> the aims of the code sprint is to replace gvSIGCE data access layer,
> >> one of the weakest points of gvSIG 1.x series, with Geotools. The
> >> global aim is to rely on geotools as much as we can so that we can
> >> benefit from it and try to contribute back. This means that if we
> >> succeed on integrating GT on the data access layer we will likely try
> >> to integrate with other parts of the library.
> >>
> >> So the point of my message: if any Geotools developer feels like
> >> dropping by he/she will be very welcomed (which means some free beer,
> >> for sure!). Don't hesitate to update the list of participants in the
> >> wiki or asking me to do so.
> >>
> >> Cheers,
> >> Fernando.
> >>
> >> [1]
> http://gvsigce.sourceforge.net/wiki/index.php/GvSIG_CE_Code_Sprint_in_Munich
> >> [2] http://gvsigce.org/
> >> [3] http://www.gvsig.org/
> >>
> >>
> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond.
> Discussions
> >> will include endpoint security, mobile security and the latest in
> malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >> _______________________________________________
> >> GeoTools-GT2-Users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
> >
> > --
> > Gabriel Roldan
> > OpenGeo - http://opengeo.org
> > Expert service straight from the developers.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 1 Sep 2012 11:33:04 +0200
> From: Andrea Aime <[email protected]>
> Subject: Re: [Geotools-gt2-users] gvSIG CE codesprint: geotools
>         integration
> To: Fernando Gonz?lez <[email protected]>
> Cc: [email protected]
> Message-ID:
>         <
> ca+nxmttppbphtpd5vczwae6kh-i3rht_vrja9rsgwj392bf...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Tue, Aug 28, 2012 at 5:49 PM, Fernando Gonz?lez <[email protected]
> >wrote:
>
> > Hi all, sorry if this is a bit offtopic.
> >
> > Some people around the gvSIGCE project are organizing a code sprint in
> > Munich[1] from the 15th to the 19th of October.
> >
> > For those who don't know, gvSIGCE[2] is a fork of gvSIG[3] and one of
> > the aims of the code sprint is to replace gvSIGCE data access layer,
> > one of the weakest points of gvSIG 1.x series, with Geotools. The
> > global aim is to rely on geotools as much as we can so that we can
> > benefit from it and try to contribute back. This means that if we
> > succeed on integrating GT on the data access layer we will likely try
> > to integrate with other parts of the library.
> >
> > So the point of my message: if any Geotools developer feels like
> > dropping by he/she will be very welcomed (which means some free beer,
> > for sure!). Don't hesitate to update the list of participants in the
> > wiki or asking me to do so.
> >
>
> I can't come, but can I comment? :)
>
> I see you want to get rid of JAI. GeoTools is still heavily based on it,
> and we
> are still managing with good success with it, during my day to day work we
> process terabytes of imagery at ease with it.
> It has bugs, and sometimes we roll our own pure java version of this or
> that
> operator (recent VM are not so bad when it comes to processing raster
> data, performance is often fine), but overall it's still quite a bit better
> than most things out there when it comes to processing images that
> are larger than the available memory.
> GDAL is a very nice image manipulation library, but what do you do when you
> exceed its limits and need tile oriented processing and/or scientific data
> processing?
>
> Just my 2 cents
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
> ------------------------------
>
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
> End of GeoTools-GT2-Users Digest, Vol 76, Issue 1
> *************************************************
>



-- 
Database Administrator and Softwares developper
Observatoire Satellital des Forets d'Afrique Centrale / OSFAC - RDC
14, avenue sergent MOKE, Q/Socimat - Kinshasa - NGALIEMA
Faculté des Sciences - UNIKIN
Phone : 00243814520766
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to