[Geotools-gt2-users] [GEOT-4453] DataUtilities.urlTofile does not work with jar url

2013-04-18 Thread Farrukh Najmi
Hi guys, I just ran into this and filed an issue on it in JIRA. I will work on a patch to fix this and would appreciate any context or guidance on this code. Thanks. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

[Geotools-gt2-users] JMapPane fails to paint

2013-04-11 Thread Farrukh Najmi
a refresh on the JMapPane after I dynamically add layers (with FeatureCollection) to the MapContent . Thanks very much. -- Regards, Farrukh Najmi Web:http://www.wellfleetsoftware.com -- Precog is a next-generation

Re: [Geotools-gt2-users] JMapPane fails to paint

2013-04-11 Thread Farrukh Najmi
too) before calling reset() then all is well and map appears. Any idea what is going on and how to do this better? On 04/11/2013 02:36 PM, Farrukh Najmi wrote: I am using org.geotools.swing.JMapPane within a custom JDialog class that is modeled after the org.geotools.swing.JMapFrame class. I

Re: [Geotools-gt2-users] Drawing points, lines and polygons on a map

2013-04-07 Thread Farrukh Najmi
Najmi wrote: OK, how about some high level hints to point me in the right direction? On 04/01/2013 12:19 PM, Farrukh Najmi wrote: Hi Guys, I am wondering if any one has any sample code to share that draws points, lines and polygons on a map and allows basic editing of such geometries (perhaps

Re: [Geotools-gt2-users] Drawing points, lines and polygons on a map

2013-04-02 Thread Farrukh Najmi
OK, how about some high level hints to point me in the right direction? On 04/01/2013 12:19 PM, Farrukh Najmi wrote: Hi Guys, I am wondering if any one has any sample code to share that draws points, lines and polygons on a map and allows basic editing of such geometries (perhaps just

[Geotools-gt2-users] Drawing points, lines and polygons on a map

2013-04-01 Thread Farrukh Najmi
/ geotools: http://openlayers.org/dev/examples/drag-feature.html Thanks for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-22 Thread Farrukh Najmi
I have attached a patch to address the issue within the JIRA issue. I would appreciate if someone from dev team can comment on the proposed patch. Thanks. On 02/20/2011 02:09 PM, Farrukh Najmi wrote: I have opened the following issue: http://jira.codehaus.org/browse/GEOT-3443 I would

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-20 Thread Farrukh Najmi
/2011 10:52 AM, Farrukh Najmi wrote: Hi Javier, Thanks for sharing your transformation code. It seems to be transforming JTS Coordinate whereas I am looking to transform JTS Geometry. Here is the code I am using based on the gt-referencing module's JTS.transform() method

Re: [Geotools-gt2-users] How to decode CRS codes with OGC Authority

2011-02-19 Thread Farrukh Najmi
triple booked. -- Jody Garnett On Friday, 18 February 2011 at 1:35 AM, Farrukh Najmi wrote: Hi Ian, Thanks for your response. I included the following: dependency groupIdorg.geotools/groupId artifactIdgt-epsg-postgresql/artifactId version${geotools.version}/version /dependency This gave me

Re: [Geotools-gt2-users] How to decode CRS codes with OGC Authority

2011-02-17 Thread Farrukh Najmi
not seem to be working. It either matshes nothing if I quote entire string or matches too much if I dont. Any ideas on this? On 02/15/2011 11:51 AM, Farrukh Najmi wrote: I am using a PostGres/PostGIS 8.3 database with gt-epsg-postgresql plugin. The EPSG Geodetic Parameter Dataset has been loaded

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-17 Thread Farrukh Najmi
:52 AM, Farrukh Najmi wrote: Hi Javier, Thanks for sharing your transformation code. It seems to be transforming JTS Coordinate whereas I am looking to transform JTS Geometry. Here is the code I am using based on the gt-referencing module's JTS.transform() method... Geomtry

Re: [Geotools-gt2-users] How to decode CRS codes with OGC Authority

2011-02-17 Thread Farrukh Najmi
OGC authority URN like this one: urn:ogc:def:crs:OGC:1.3:CRS84 It seems I need to have some CRSAuthorityFactory defined for that but I am not sure how? On 02/17/2011 10:20 AM, Ian Turton wrote: On Thu, Feb 17, 2011 at 8:59 AM, Farrukh Najmi farr...@wellfleetsoftware.com wrote: Hi Guys

[Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-14 Thread Farrukh Najmi
? Thanks for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-14 Thread Farrukh Najmi
(3 526 32)); } } On Mon, Feb 14, 2011 at 4:14 PM, Farrukh Najmi farr...@wellfleetsoftware.com mailto:farr...@wellfleetsoftware.com wrote: I am using a PostGres/PostGIS 8.3 database with gt-epsg-postgresql plugin. The EPSG Geodetic Parameter Dataset has been loaded

[Geotools-gt2-users] Use of JTS Geometry srid and userData in GML to JTS mapping

2008-05-27 Thread Farrukh Najmi
need to store both srid and srsName? Thanks for any guidance. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

[Geotools-gt2-users] CoordinateReferenceSystem and DefaultGeographicCRS question

2008-05-27 Thread Farrukh Najmi
in a CoordinateReferenceSystem instance can I find the name that was used to decode the CoordinateReferenceSystem? TIA for explaining this. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - This SF.net email

Re: [Geotools-gt2-users] Use of JTS Geometry srid and userData in GML to JTS mapping

2008-05-27 Thread Farrukh Najmi
Jody Garnett wrote: Farrukh Najmi wrote: Dear colleagues, Looking at geotools GML code its not clear to me how it uses the srid and userData fields of the com.vividsolutions.jts.geom.Geometry class. Which GML code did are you looking at specifically? - SAX parser? I think it sets

Re: [Geotools-gt2-users] Use of JTS Geometry srid and userData in GML to JTS mapping

2008-05-27 Thread Farrukh Najmi
Jody Garnett wrote: Farrukh Najmi wrote: I was looking at trunk/modules/library/main/src/main/java/org/geotools/gml/SubHandlerPolygon.java and other classes there. I think that is the SAX parser; it does GML2 as I understand it. In general I don't know what these parsers do for a JTS

[Geotools-gt2-users] How to get an SRID for srsName

2008-05-21 Thread Farrukh Najmi
this using geotools? If geotools does not support this, how can I use the spatial_ref_sys in postgis to do the lookup. Thanks for any advice. -- Regards, Farrukh Najmi - This SF.net email is sponsored by: Microsoft Defy all

Re: [Geotools-gt2-users] How to get an SRID for srsName

2008-05-21 Thread Farrukh Najmi
a pretty good job of handling this for you using CRS.decode( ... ) method. Farrukh Najmi wrote: Current code base allows lookup of a JTS GeometryFactory using an SRID using the following: http://javadoc.geotools.fr/2.5/org/geotools/factory/Hints.html#JTS_SRID Problem is I only have

Re: [Geotools-gt2-users] JTS and GeoTools what are they good for

2008-05-21 Thread Farrukh Najmi
Jody Garnett wrote: Farrukh Najmi wrote: Thanks Jody for the very helpful response. No worries; now if you can tell me where to put that information in the user guide for the next person we will be ahead of the game :-) Where would you look ... It should probably be under Chapter 03 JTS

Re: [Geotools-gt2-users] GML 3 support

2008-05-19 Thread Farrukh Najmi
I would be grateful if geotools dev team or community members could provide any partial responses to this message. Thanks. Farrukh Najmi wrote: I was potentially misled into believing that geotools did not have GML 3 parsing encoding support due to this page only mentioning GML 2: http

[Geotools-gt2-users] CRS transformation

2008-05-19 Thread Farrukh Najmi
by the CRS.decode method. I am assuming this is should be a common enough need and has a ready answer? TIA for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - This SF.net email is sponsored

Re: [Geotools-gt2-users] CRS transformation

2008-05-19 Thread Farrukh Najmi
Martin Desruisseaux wrote: Farrukh Najmi a écrit : Is there a recipe for converting srsName which is in form of a URI such as: urn:ogc:def:crs:OGC:2:WGS84 into the ':' separated tuple expected by the CRS.decode method. CRS.decode(String) should understand directly the urn:ogc syntax, et

[Geotools-gt2-users] GML 3 support

2008-05-13 Thread Farrukh Najmi
) org.geotools:gt-widgets-swing-pending:jar:2.5-SNAPSHOT 3) org.swinglabs:swingx:jar:0.8-SNAPSHO Farrukh Najmi wrote: I am looking for a way to marshal JTS geometry classes (e.g. Envelope) to GML and unmarshal GML documents into JTS geometry classes. Can any one advice what is the best way to do

[Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Farrukh Najmi
discussion and current plans. Thanks. [1] Hibernate Spatial http://www.hibernatespatial.org/ -- Regards, Farrukh Najmi - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http

Re: [Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Farrukh Najmi
supports some kind of streaming across the data rather then loading it into memory As for hibernate-spatial, why not start up a community module? The GeoTools dev team is here to help you get going. Jody Farrukh Najmi wrote: The hibernate spatial project [1] project provides some degree

Re: [Geotools-gt2-users] Any plans to use hibernate spatial

2008-05-13 Thread Farrukh Najmi
experience what kind of effort do you think it will be for someone new to geotools? Thanks. Farrukh Najmi wrote: Thank for the feedback. I might consider the hibernate-spatial community module after I am a little more familiar with geotools code base. Right now I am too much of a newbie

[Geotools-gt2-users] Conversion between GML and JTS

2008-05-09 Thread Farrukh Najmi
I am looking for a way to marshal JTS geometry classes (e.g. Envelope) to GML and unmarshal GML documents into JTS geometry classes. Can any one advice what is the best way to do this. Please note that I am new to geotools and I apologize if this is an obvious question. An old archives