jts-topo-suite-user Mailing List for JTS Topology Suite (Page 118)
Brought to you by:
dr_jts
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(30) |
Feb
(41) |
Mar
(69) |
Apr
(131) |
May
(67) |
Jun
(24) |
Jul
(28) |
Aug
(52) |
Sep
(9) |
Oct
(24) |
Nov
(36) |
Dec
(24) |
2011 |
Jan
(20) |
Feb
(53) |
Mar
(31) |
Apr
(74) |
May
(71) |
Jun
(51) |
Jul
(28) |
Aug
(91) |
Sep
(72) |
Oct
(46) |
Nov
(90) |
Dec
(38) |
2012 |
Jan
(80) |
Feb
(77) |
Mar
(98) |
Apr
(78) |
May
(56) |
Jun
(85) |
Jul
(53) |
Aug
(87) |
Sep
(74) |
Oct
(67) |
Nov
(85) |
Dec
(66) |
2013 |
Jan
(50) |
Feb
(34) |
Mar
(45) |
Apr
(36) |
May
(22) |
Jun
(10) |
Jul
(30) |
Aug
(39) |
Sep
(25) |
Oct
(11) |
Nov
(64) |
Dec
(42) |
2014 |
Jan
(27) |
Feb
(6) |
Mar
(10) |
Apr
(14) |
May
(25) |
Jun
(6) |
Jul
(25) |
Aug
(3) |
Sep
(22) |
Oct
(12) |
Nov
(34) |
Dec
(15) |
2015 |
Jan
(24) |
Feb
(20) |
Mar
(11) |
Apr
|
May
(37) |
Jun
(24) |
Jul
(17) |
Aug
(10) |
Sep
(3) |
Oct
(15) |
Nov
(21) |
Dec
(20) |
2016 |
Jan
(30) |
Feb
(15) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(20) |
Aug
|
Sep
(12) |
Oct
(1) |
Nov
(4) |
Dec
|
From: Martin D. <mb...@re...> - 2010-01-18 19:19:49
|
Xevi, Thanks for the bug reports. I agree that both of them look like bugs. I'll fix them shortly. Sorry about the delay in getting 1.11 out the door. I am in the process of moving the code repository to SourceForge - once that's done, I'll make the 1.11 release. This month, hopefully! Martin Xevi wrote: > Hello, > > I'm working with the version 1.10, and I think I have found two little > bugs in the JTS code > > The first one is in the method *equals *of the file > *com.vividsolutions.jts.geom.util.AffineTransformation.java* (line 974), > it reads : > > *public boolean equals(Object obj) > { > if (obj instanceof AffineTransformation) > return false; > ...* > > And I think it should be : > > *public boolean equals(Object obj) > { > if (!(obj instanceof AffineTransformation)) > return false; > ...* > > The second one is in the method *closeRing *of the file > *com.vividsolutions.jts.geom.CoordinateList.java* (line 197), > the method says : > > *public void closeRing() > { > if (size() > 0) > add(get(0), false); > }* > > And I think that its necessary to clone the first Coordinate before > inserting it in the CoordinatList, so the method should be something > like that: > > *public void closeRing() > { > if (size() > 0) > add((Coordinate)get(0).clone(), false); > }* > > Thank you for this marvelous suite. > > P.d. Is there any place where we can get the version 1.11 (I need to > generate a Voronoi Diagram)? it seems that neither the cvs server nor > the svn server are working. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Jts-topo-suite-user mailing list > Jts...@li... > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 |
From: Xevi <xn...@gm...> - 2010-01-18 19:18:57
|
Sorry for the HTML, Here is the message as plain text. Hello, I'm working with the version 1.10, and I think I have found two little bugs in the JTS code The first one is in the method equals of the file com.vividsolutions.jts.geom.util.AffineTransformation.java (line 974), it reads : public boolean equals(Object obj) { if (obj instanceof AffineTransformation) return false; ... And I think it should be : public boolean equals(Object obj) { if (!(obj instanceof AffineTransformation)) return false; ... The second one is in the method closeRing of the file com.vividsolutions.jts.geom.CoordinateList.java (line 197), the method says : public void closeRing() { if (size() > 0) add(get(0), false); } And I think that its necessary to clone the first Coordinate before inserting it in the CoordinatList, so the method should be something like that: public void closeRing() { if (size() > 0) add((Coordinate)get(0).clone(), false); } Thank you for this marvelous suite. P.d. Is there any place where we can get the version 1.11 (I need to generate a Voronoi Diagram)? it seems that neither the cvs server nor the svn server are working. |
From: Xevi <xn...@gm...> - 2010-01-18 19:06:40
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#f8f8ff" text="#000000"> Hello,<br> <font face="Tahoma"><br> I'm working with the version 1.10, and I think I have found two little bugs in the JTS code<br> <br> The first one is in the method </font><small><b><big><tt>equals </tt></big></b></small><font face="Tahoma">of the file </font><b><tt>com.vividsolutions.jts.geom.util.AffineTransformation.java</tt></b><font face="Tahoma"> (line 974),<br> it reads :<br> <br> </font><b><tt>public boolean equals(Object obj)<br> {<br> if (obj instanceof AffineTransformation)<br> return false;<br> ...</tt></b><font face="Tahoma"><br> <br> And I think it should be :<br> <br> </font><b><tt>public boolean equals(Object obj)<br> {<br> if (<font color="#000099">!(</font>obj instanceof AffineTransformation<font color="#000099">)</font>)<br> return false;<br> ...</tt></b><font face="Tahoma"><br> <br> The second one is in the method </font><b><tt>closeRing </tt></b><font face="Tahoma">of the file </font><b><tt>com.vividsolutions.jts.geom.CoordinateList.java</tt></b><font face="Tahoma"> (line 197),<br> the method says :<br> <br> </font><b><tt>public void closeRing()<br> {<br> if (size() > 0)<br> add(get(0), false);<br> }</tt></b><font face="Tahoma"><br> <br> And I think that its necessary to clone the first Coordinate before inserting it in the CoordinatList, so the method should be something like that:<br> <br> </font><b><tt>public void closeRing()<br> {<br> if (size() > 0)<br> add(<font color="#000099">(Coordinate)</font>get(0)<font color="#000099">.clone()</font>, false);<br> }</tt></b><font face="Tahoma"><br> <br> Thank you for this marvelous suite.<br> <br> P.d. Is there any place where we can get the version 1.11 (I need to generate a Voronoi Diagram)? it seems that neither the cvs server nor the svn server are working.<br> </font><font face="Tahoma"><br> </font> </body> </html> |
From: Martin D. <mb...@re...> - 2010-01-18 19:03:47
|
Makes sense... that's what I'd do too if I was trying to implement this. It would be easy to provide this as an external extenstion to JTS... sindizzy wrote: > Certainly I can understand the limitations. ArcGIS, ManifoldGIS, and maybe > TatukGIS (haven't checked the last one) provide a methodology to produce > range rings, which I have seen termed GeoElippses. In other words I have > personal access to applications that do this for the user but there is no > option for it in MapWindow and that's where I got into a conversation with > one of the MW developers, Paul Meems. What I do currently is very crude but > seems to be close. I base my polygon on a WGS84 coordinate system and I take > a center and then swipe across a full azimuth from 0 to 360 and determine > what the end point would be. I use aviation formulae to get the end point. > Once I have a collection of vertices that describe the ellipse I create a > polygon out of it. Obviously the finer the delta azimuth I use the more end > points I get. > > Here is one reference from ESRI > http://webhelp.esri.com/arcgisdesktop/9.1/index.cfm?ID=2754&TopicName=Geodes > y%20concepts&rand=88&pid=2752 > > > Rgds > > Abel > > > -----Original Message----- > From: Martin Davis [mailto:mb...@re...] > Sent: Monday, January 18, 2010 11:39 AM > To: sindizzy > Cc: 'Paul Meems'; jts...@li... > Subject: Re: jts-devel Digest, Vol 68, Issue 2 > > [ccing this to the new JTS list too...] > > Abel, > > JTS (& GEOS & NTS) assumes a Cartesian coordinate system. This means > that the coordinate system is expected to lie in a plane extending > infinitely in all directions. > > As Columbus found out, this is NOT what the surface of the Earth looks > like. 8^) > > To produce geographically correct range circles as you require is thus > not currently supported in JTS. It's actually a quite tricky problem - > it requires the ability to compute distance and azimuth on the > ellipsoid, as well as being able to represent polygons in a spherical > coordinate system. > > I know that PostGIS is currently working on an extension to provide a > geographic coordinate system, and as such it will have the machinery to > be able to do what you want. You might try looking there for a solution. > > Martin > > sindizzy wrote: > >> Martin, >> >> Sorry for not following up sooner but my computer broke and I just >> rebuilt it so am now up and working. Anyway, I would like to continue >> this discussion about the difference between a circle as drawn on the >> screen and a range ring. The range ring being a spatially correct >> ellipse that would be more like what a missile would travel or the >> range of an aircraft. I am in the aviation industry so the range ring >> is very important and critical in many studies. In using many GIS I >> have found that the two often get confused. What does JTS produce? >> >> >> >> Thanks >> >> Abel >> >> >> >> *From:* Paul Meems [mailto:bon...@gm...] >> *Sent:* Thursday, September 10, 2009 1:56 AM >> *To:* sin...@gm... >> *Subject:* Fwd: jts-devel Digest, Vol 68, Issue 2 >> >> >> >> Abel, >> >> I forward you the messages. If you could explain Martin >> (mb...@re... <mailto:mb...@re...>) what you >> mean he might build it into JTS. >> Then hopefully GEOS will use it as well and finally MapWindow will >> have it as well. >> >> Thanks, >> >> Paul >> >> ---------- Forwarded message ---------- >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Tue, 8 Sep 2009 11:45:46 +0200 >> From: Paul Meems <bon...@gm... <mailto:bon...@gm...>> >> Subject: [jts-devel] Welcome & buffering >> To: jts...@li... >> <mailto:jts...@li...> >> Message-ID: >> <870...@ma... >> <mailto:870...@ma...>> >> Content-Type: text/plain; charset="iso-8859-1" >> >> I'm new to this mailing list so I do a quick introduction of myself. >> >> I'm Paul Meems. I live in The Netherlands and I am active in the MapWindow >> GIS community (www.mapwindow.org <http://www.mapwindow.org>) >> With MapWindow we don't use JTS directly but use NTS and GEOS. >> With both libraries we've got issues. Because they both implement JTS I >> thought the best way to get answers and/or fixes is at the source ;) >> >> The first issue we have is when we create a very large buffer on a >> shapefile >> with a projection bases on an ellipsoide (WGS84) we expect a buffer >> more as >> an ellipse instead of a circle. >> >> Using these coordinates: >> -102,040052163025, 36,9876952244059 >> >> a distance of 18 (degrees) >> >> and this projection: >> GEOGCS["WGS 84" >> ,DATUM["WGS_1984" >> ,SPHEROID["WGS 84" >> ,6378137,298.257223563 >> ,AUTHORITY["EPSG","7030"]] >> ,TOWGS84[0,0,0,0,0,0,0] >> ,AUTHORITY["EPSG","6326"]] >> ,PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]] >> ,UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]] >> ,AUTHORITY["EPSG","4326"]] >> >> This would create a buffer starting at the center of USA and almost as >> wide >> as the total width of USA and higher as the total height of the USA. >> >> Is my assumption wrong and should it not create an ellipse? Or should >> I not >> use the Buffer method but a different one? >> >> I'm sorry if this is already documented. I tried searching for it but >> couldn't find it. >> >> Thanks, >> Paul >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> >> > <http://lists.refractions.net/pipermail/jts-devel/attachments/20090908/06e7b > 356/attachment-0001.html> > >> ------------------------------ >> >> Message: 2 >> Date: Tue, 08 Sep 2009 10:01:19 -0700 >> From: Martin Davis <mb...@re... >> <mailto:mb...@re...>> >> Subject: Re: [jts-devel] Welcome & buffering >> To: JTS Topology Suite Development <jts...@li... >> <mailto:jts...@li...>> >> Message-ID: <4AA...@re... >> <mailto:4AA...@re...>> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Welcome, Paul. >> >> Glad you spoke up - I'll add your products to the list I'm keeping of >> clients of JTS/GEOS: http://tsusiatsoftware.net/jts/jts-links.html >> >> As for your question, at the moment JTS assumes a Cartesian (planar) >> coordinate system. So there is no provision for processing geometries >> in spheroidal coordinate systems, as would be required to produce the >> kind of output you're talking about. >> >> If you only need buffers around points, then it would be relatively >> straightforward to implement this as a custom function. You would have >> to obtain code to compute distance and azimuth on the spheroid in order >> to do this - there is code for this in PostGIS, I believe. >> >> We have been discussing the possibility of extending JTS operations to >> allow spherical coordinate systems. This is feasible, but would involve >> a bit of work. If you're interested in discussing this further let me >> know. >> >> Martin >> >> -- >> Martin Davis >> Senior Technical Architect >> Refractions Research, Inc. >> (250) 383-3022 >> >> >> >> > > -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 |
From: Martin D. <mb...@re...> - 2010-01-18 18:55:37
|
Abel, JTS (& GEOS & NTS) assumes a Cartesian coordinate system. This means that the coordinate system is expected to lie in a plane extending infinitely in all directions. As Columbus found out, this is NOT what the surface of the Earth looks like. 8^) To produce geographically correct range circles as you require is thus not currently supported in JTS. It's actually a quite tricky problem - it requires the ability to compute distance and azimuth on the ellipsoid, as well as being able to represent polygons in a spherical coordinate system. I know that PostGIS is currently working on an extension to provide a geographic coordinate system, and as such it will have the machinery to be able to do what you want. You might try looking there for a solution. Martin sindizzy wrote: Martin, Sorry for not following up sooner but my computer broke and I just rebuilt it so am now up and working. Anyway, I would like to continue this discussion about the difference between a circle as drawn on the screen and a range ring. The range ring being a spatially correct ellipse that would be more like what a missile would travel or the range of an aircraft. I am in the aviation industry so the range ring is very important and critical in many studies. In using many GIS I have found that the two often get confused. What does JTS produce? -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 |
From: Michael B. <mic...@gm...> - 2010-01-15 02:37:03
|
Hi Martin, This sounds sooo good :) Both the release plans and having JTS in a subversion repo. Michael |
From: David P. <dav...@pi...> - 2010-01-15 00:07:03
|
Hi Folks, I like to thank everybody that replied to my query. I can access the bits of the geometry that I need to. Dave. > David, > > I'm not quite clear about what exactly you want to do. > > It sounds like you want a way to turn a Geometry into a > GeometryCollection. > I assume you mean an atomic Geometry (like LineString or Polygon), rather > than something which is already a GeometryCollection (like MultiPolygon). > In that case, you can simply say something like > > GeometryCollection gc = geomFactory.createGeometryCollection( > new Geometry[] { g }); > > Another thing to be aware of is that *all* Geometrys implement the > #getNumGeometries and #getGeometryN methods, so you can use these methods > uniformly to iterate through the components of any Geometry. > > HTH - Martin > > > On Thu, Jan 14, 2010 at 12:31 AM, David Potts > <dav...@pi...>wrote: > >> >> Hi >> >> I am trying to find out how to use the GeometrycollectionFactory >> >> As a result of doing a union in JTS, it generates a Geometry or type >> GEOMETRYCOLLECTION of linestrings and polygons. Qgis will not display >> geometires of this type. >> >> I can break the geometry in to a collection of Polygons and linestrings >> in >> postgis by doing something like. >> >> insert into tmp2 (the_geom) select (st_dump(tmp.the_geom)).geom as >> the_geom from tmp; >> >> I been through the java doc stuff for jts 1.10, I discoverd the >> GeometryCollection stuff, but I can't work out a way of converting a >> simple Geometry to a GeometryCollection. >> >> >From the documentation you have to an an array of geometries to begin >> with, I just a GEOMETRYCOLLECTION encoded as an existing geometry. >> >> Any suggestions/comments greateful received. >> >> -- >> Any views expressed in this message are those of the individual sender, >> except where the sender specifically states them to be the views of the >> Pinan Software >> >> >> >> >> ------------------------------------------------------------------------------ >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues >> through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> _______________________________________________ >> Jts-topo-suite-user mailing list >> Jts...@li... >> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user >> > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev_______________________________________________ > Jts-topo-suite-user mailing list > Jts...@li... > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > -- Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the Pinan Software |
From: Martin D. <mtn...@gm...> - 2010-01-14 17:15:54
|
I'm hoping to get JTS 1.11 out ASAP. The delay is due to the fact that the old CSV repository is now unavailable due to circumstances beyond my control. I'm planning on moving JTS to SVN on the SourceForge site, and I want to get that done before making a release. So please stay tuned.... I'm going to try and get this done this month. Martin On Fri, Jan 8, 2010 at 7:15 AM, Felix Obermaier <ob...@iv...> wrote: > Hello, > > Is there a release schedule for JTS 1.11? > What happened to the cvs repository? > > Thanks for a fantastic library > > Felix Obermaier > > ------------------------------------------ > Ingenieurgruppe IVV GmbH & Co. KG > Dipl.-Ing. Felix Obermaier > Oppenhoffallee 171 > 52066 Aachen > > Telefon: +49 (241) 94691-39 > Telefax: +49 (241) 531622 > eMail: obe_at_ivv-aachen.de > Internet: http://www.ivv-aachen.de > > Sitz der Gesellschaft: Aachen > Amtsgericht Aachen HRA 6212 > GF: Bauassessor Dr.-Ing. Dieter Hölsken > IVV-Management GmbH > Amtsgericht Aachen HRB 12543 > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Jts-topo-suite-user mailing list > Jts...@li... > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > |
From: Martin D. <mtn...@gm...> - 2010-01-14 17:12:06
|
David, I'm not quite clear about what exactly you want to do. It sounds like you want a way to turn a Geometry into a GeometryCollection. I assume you mean an atomic Geometry (like LineString or Polygon), rather than something which is already a GeometryCollection (like MultiPolygon). In that case, you can simply say something like GeometryCollection gc = geomFactory.createGeometryCollection( new Geometry[] { g }); Another thing to be aware of is that *all* Geometrys implement the #getNumGeometries and #getGeometryN methods, so you can use these methods uniformly to iterate through the components of any Geometry. HTH - Martin On Thu, Jan 14, 2010 at 12:31 AM, David Potts <dav...@pi...>wrote: > > Hi > > I am trying to find out how to use the GeometrycollectionFactory > > As a result of doing a union in JTS, it generates a Geometry or type > GEOMETRYCOLLECTION of linestrings and polygons. Qgis will not display > geometires of this type. > > I can break the geometry in to a collection of Polygons and linestrings in > postgis by doing something like. > > insert into tmp2 (the_geom) select (st_dump(tmp.the_geom)).geom as > the_geom from tmp; > > I been through the java doc stuff for jts 1.10, I discoverd the > GeometryCollection stuff, but I can't work out a way of converting a > simple Geometry to a GeometryCollection. > > >From the documentation you have to an an array of geometries to begin > with, I just a GEOMETRYCOLLECTION encoded as an existing geometry. > > Any suggestions/comments greateful received. > > -- > Any views expressed in this message are those of the individual sender, > except where the sender specifically states them to be the views of the > Pinan Software > > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Jts-topo-suite-user mailing list > Jts...@li... > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > |
From: David P. <dav...@pi...> - 2010-01-14 08:32:07
|
Hi I am trying to find out how to use the GeometrycollectionFactory As a result of doing a union in JTS, it generates a Geometry or type GEOMETRYCOLLECTION of linestrings and polygons. Qgis will not display geometires of this type. I can break the geometry in to a collection of Polygons and linestrings in postgis by doing something like. insert into tmp2 (the_geom) select (st_dump(tmp.the_geom)).geom as the_geom from tmp; I been through the java doc stuff for jts 1.10, I discoverd the GeometryCollection stuff, but I can't work out a way of converting a simple Geometry to a GeometryCollection. >From the documentation you have to an an array of geometries to begin with, I just a GEOMETRYCOLLECTION encoded as an existing geometry. Any suggestions/comments greateful received. -- Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of the Pinan Software |
From: Felix O. <obe@IVV-AACHEN.DE> - 2010-01-08 15:31:13
|
Hello, Is there a release schedule for JTS 1.11? What happened to the cvs repository? Thanks for a fantastic library Felix Obermaier ------------------------------------------ Ingenieurgruppe IVV GmbH & Co. KG Dipl.-Ing. Felix Obermaier Oppenhoffallee 171 52066 Aachen Telefon: +49 (241) 94691-39 Telefax: +49 (241) 531622 eMail: obe_at_ivv-aachen.de Internet: http://www.ivv-aachen.de Sitz der Gesellschaft: Aachen Amtsgericht Aachen HRA 6212 GF: Bauassessor Dr.-Ing. Dieter Hölsken IVV-Management GmbH Amtsgericht Aachen HRB 12543 |
From: Martin D. <mtn...@gm...> - 2009-11-27 05:57:18
|
Testing |
From: Martin D. <mtn...@te...> - 2009-11-27 05:44:40
|
Testing |
From: Martin D. <mtn...@gm...> - 2009-11-27 05:39:43
|
This is a test |