Hi SS, excuse me for the late answer, I am working abroad and have no time to answer. I programmed a course of basic GIS for students of 1st year of college. The student learn some basics of GIS, the types of datas, how to digit, some operations, etc. So I don't feel to give some JAVA programming lessons - I cannot do it, either :)-. Openjump. OpenOffice and Kosmo will be the softwares I use in my course: only Opensource which is quite enough even in professional jobs (I tested in my survaying activities). I thought it could be very useful to learn some simple wkt structures as it can solve many geographic problems. I have just realized and test that it is possible to use some EXCELL simple usage to do this convertion, even with a large numbers of datas. So thak you for your availability. It would be niece to have, in the future, a tool in OJ which will make this conversion quicky. regards
Peppe --- Lun 19/7/10, Sunburned Surveyor <sunburned.surve...@gmail.com> ha scritto: > Da: Sunburned Surveyor <sunburned.surve...@gmail.com> > Oggetto: Re: [JPP-Devel] How to import a table of polygons > A: "OpenJump develop and use" <jump-pilot-devel@lists.sourceforge.net> > Data: Lunedì 19 luglio 2010, 19:23 > Peppe, > > It should be really easy to whip up some code that makes > the simple > string conversion you are talking about. Are your students > coding in > Java? > > The Sunburned Surveyor > > On Thu, Jul 15, 2010 at 2:22 AM, Giuseppe Aruta <giuseppe_ar...@yahoo.it> > wrote: > > Hi Stefan, > > thanks for the answer. I got so enough strategies to > create polygons from points. I assume that probabily yours > (or kosmo one, which is similar) are the easest way. > Nevertheless I think I will organize a routine using tables > to get WKT strings: my scope is to teach to students some > basics of spatial geometry and WKT seems to get the point. > > regards > > > > Peppe > > > > --- Mer 14/7/10, Stefan Steiniger <sst...@geo.uzh.ch> > ha scritto: > > > >> Da: Stefan Steiniger <sst...@geo.uzh.ch> > >> Oggetto: Re: [JPP-Devel] How to import a table of > polygons > >> A: "OpenJump develop and use" <jump-pilot-devel@lists.sourceforge.net> > >> Data: Mercoledì 14 luglio 2010, 20:04 > >> Hei Peppe, > >> > >> I have a tool too, which creates lines from points > if an > >> attribute is > >> given that can be used for ordering (well.. > assuming that > >> you load the > >> data in the correct order you could just create a > new > >> attribute and > >> assign numbers in order). > >> > >> However, that would just create a line from all > points, as > >> there needs > >> to be an indicator where the line is finished and > a new > >> started. > >> > >> Getting polygons out of lines is simple with the > planar > >> graph function - > >> more or less. > >> > >> stefan > >> > >> Giuseppe Aruta wrote: > >> > Hi London, > >> > thanks for your answer.ù > >> > Really I fegure out I can do it using a > spreadsheet. > >> > The basic work is to transform, for > instance, a > >> line coordinates: 0,0 0,2 2,2 2,0 0,0 into a wkt > string: > >> Polygon ((0,0 0,2 2,2 2,0 0,0)). This is not > difficult but > >> sometimes confusing and long. > >> > It would be interesting to explore a way that > involve > >> OJ directly using table > >> > > >> > regards > >> > > >> > Peppe > >> > > >> > P.S. Francisco Helguera from SAIG wrote me > that Kosmo > >> has a "Get > >> > lines from points" tool that should work - > but no > >> import table. > >> > > >> > --- Lun 12/7/10, Sunburned Surveyor <sunburned.surve...@gmail.com> > >> ha scritto: > >> > > >> >> Da: Sunburned Surveyor <sunburned.surve...@gmail.com> > >> >> Oggetto: Re: [JPP-Devel] How to import a > table of > >> polygons > >> >> A: "OpenJump develop and use" <jump-pilot-devel@lists.sourceforge.net> > >> >> Data: Lunedì 12 luglio 2010, 17:14 > >> >> Peppe, > >> >> > >> >> You'd have to specify the start and end > of each > >> LineString > >> >> or Polygon > >> >> in the point file. So you'd need more > than just > >> points, > >> >> you'd need > >> >> some other mark-up to. > >> >> > >> >> The text delimited point importer I built > is made > >> to > >> >> separate out a > >> >> "linework code". Surveying software > typically uses > >> the > >> >> linework code > >> >> input by the field surveyor to > automatically > >> generate > >> >> linework. I > >> >> haven't bolted this functionality on to > my point > >> import > >> >> tool, but it > >> >> can be done. > >> >> > >> >> The Sunburned Surveyor > >> >> > >> >> On Mon, Jul 12, 2010 at 6:16 AM, Giuseppe > Aruta > >> <giuseppe_ar...@yahoo.it> > >> >> wrote: > >> >>> Hi all, > >> >>> tecnically Openjump/Skyjump and Kosmo > have > >> many > >> >> strategies to import a set of coordinates > as > >> points, either > >> >> using WKT structures or via tables. > >> >>> I just wonder if it is possible to > import a > >> set of > >> >> coordinates (as table) and create > directly > >> lines, closed > >> >> lines or polygons. > >> >>> Or to load a point layer and > convert > >> them to a line > >> >> layer > >> >>> I checked around and I cannot find > anything > >> but > >> >> digitalizing. > >> >>> I thank for the answers > >> >>> > >> >>> Giuseppe Aruta > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> > >> >> > >> > ------------------------------------------------------------------------------ > >> >>> This SF.net email is sponsored by > Sprint > >> >>> What will you do first with EVO, the > first 4G > >> phone? > >> >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> >>> > >> _______________________________________________ > >> >>> Jump-pilot-devel mailing list > >> >>> Jump-pilot-devel@lists.sourceforge.net > >> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> >>> > >> >> > >> > ------------------------------------------------------------------------------ > >> >> This SF.net email is sponsored by Sprint > >> >> What will you do first with EVO, the > first 4G > >> phone? > >> >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> >> > _______________________________________________ > >> >> Jump-pilot-devel mailing list > >> >> Jump-pilot-devel@lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> >> > >> > > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > This SF.net email is sponsored by Sprint > >> > What will you do first with EVO, the first 4G > phone? > >> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> > > _______________________________________________ > >> > Jump-pilot-devel mailing list > >> > Jump-pilot-devel@lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> > > >> > > >> > >> > ------------------------------------------------------------------------------ > >> This SF.net email is sponsored by Sprint > >> What will you do first with EVO, the first 4G > phone? > >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> _______________________________________________ > >> Jump-pilot-devel mailing list > >> Jump-pilot-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> > > > > > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel