Re: [Geotools-gt2-users] Opening Image File Saved With JAI in Geotools

2013-01-11 Thread Ian Turton
is irrelevant to your code. Have a look at http://docs.geotools.org/latest/userguide/library/coverage/grid.html to see how to handle raster data in GeoTools. Ian 2013/1/11 Ian Turton ijtur...@gmail.com As far as I can see your problem is that you decided to use JAI directly instead of calculating NDVI

Re: [Geotools-gt2-users] Can not set ID (primary key) of a feature when saving a feature to postgis

2012-12-03 Thread Ian Turton
On 3 December 2012 12:25, Fritz Richter rich...@rich-and-high.com wrote: Hi everyone, it is pretty stange. I'm playing with my setup for hours, and still can not make it work. I'm trying to save a feature to my postgis database. Actually almost everything is working, except the featureId,

Re: [Geotools-gt2-users] Need to perform an intersect operation!

2012-11-02 Thread Ian Turton
On 2 November 2012 07:08, Sugandha Naolekar sugandha@gmail.com wrote: Hello! I am trying to perform an intersect operation with Multipolygon as a Base layer and MultiLineString as a Data layer. Also, please find attached code. Somehow, when I run the code, I am getting an exception

Re: [Geotools-gt2-users] Draw an ellipse

2012-10-26 Thread Ian Turton
On 26 October 2012 04:37, Philippe Apparicio pappari...@gmail.com wrote: Hi all, I have begun recently to use GeoTools. I want to draw several deviational ellipses and calculate next their intersection and union. I found the methods for calculating the union and intersection within the

Re: [Geotools-gt2-users] How to select an area of Interest in a shapefile

2012-09-20 Thread Ian Turton
it - it really is essential to using GeoTools for anything. Then work through the query tutorial http://docs.geotools.org/stable/tutorials/filter/query.html Ian -- Ian Turton -- Everyone hates slow websites. So do we. Make your

Re: [Geotools-gt2-users] Kernel Density Estimation - KDE

2011-11-22 Thread Ian Turton
, get the coordinate for that pixel, and assign a value for the pixel? Have a look at http://code.google.com/p/spatial-cluster-detection/ for an example of generating rasters from circles - Points should be a fairly simple simplification of the method :-) Ian -- Ian Turton

Re: [Geotools-gt2-users] Reg Graph Issues in Geotools

2011-10-03 Thread Ian Turton
On 3 October 2011 10:23, Jody Garnett jody.garn...@gmail.com wrote: Nick and Harshad: Thanks to both of you; I will take you both up on that collaboration for a graph tutorial. I am working on a release today; but I agree the graph module seems to be responsible for a lot of questions on the

Re: [Geotools-gt2-users] problem when creating a GridCoverage2D (not a square) in the WritableGridCoverage2D demo

2011-07-30 Thread Ian Turton
Is it possible that you have X Y the wrong way round? That is usually what I've done when non square coverages get index out of bounds errors. Ian -- Got Input? Slashdot Needs You. Take our quick survey online. Come

Re: [Geotools-gt2-users] mysql2shape problems

2011-07-11 Thread Ian Turton
On 11 July 2011 11:15, lexmc lexm...@gmail.com wrote: No one have a suggestion??? Your database table doesn't have it's SRID/CRS set properly. Refer to the MySQL documentation for more help. Ian -- All of the data

Re: [Geotools-gt2-users] mysql2shape problems

2011-07-11 Thread Ian Turton
On 11 July 2011 15:53, lexmc lexm...@gmail.com wrote: I have to set the srid from mysql client??? well yes - how else can GeoTools work out what the numbers mean? Ian -- All of the data generated in your IT

Re: [Geotools-gt2-users] Convert a geometry value to a x, y coordinate

2011-06-27 Thread Ian Turton
will contain a geometry object that you can then use. Ian -- Ian Turton -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security

Re: [Geotools-gt2-users] Incomplete or not found features returned by GetFeatureInfo!!

2011-06-16 Thread Ian Turton
the GeoServer log if no where else) and then run it in a browser window to see if it is being created correctly. Ian -- Ian Turton -- EditLive Enterprise is the world's most technically advanced content authoring tool

Re: [Geotools-gt2-users] Incomplete or not found features returned by GetFeatureInfo!!

2011-06-16 Thread Ian Turton
/pngREQUEST=GetFeatureInfoBBOX=-139.84870868359,18.549281576172,-51.852562316406,55.778420423828WIDTH=780HEIGHT=330STYLES=SRS=EPSG:4326QUERY_LAYERS=topp%3AstatesVERSION=1.1.1 Ian -- Ian Turton -- EditLive Enterprise

Re: [Geotools-gt2-users] Incomplete or not found features returned by GetFeatureInfo!!

2011-06-16 Thread Ian Turton
that converts coordinates in pixels? I think that it extends MouseEvent which will give you getX() and getY() methods which should give you the pixel positions. Ian -- Ian Turton -- EditLive Enterprise is the world's most

Re: [Geotools-gt2-users] Structure of URL WMS/GetfeatureInfo

2011-05-31 Thread Ian Turton
You need to have a list of layers and a list of Query_Layers (and all the layers in query_layers must be in layers). See http://portal.opengeospatial.org/files/?artifact_id=1058 for more details. Ian -- Ian Turton

Re: [Geotools-gt2-users] scale shapefile

2011-03-23 Thread Ian Turton
On 23 March 2011 07:46, mounir younes mounir.you...@gmail.com wrote: Hello everyone ! I need to scale a shapefile ! I need to resize it and make it smaller ! can someone help ?! In what way smaller? a smaller file size or a smaller map? Ian -- Ian Turton

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

2011-02-17 Thread Ian Turton
On Thu, Feb 17, 2011 at 8:59 AM, Farrukh Najmi farr...@wellfleetsoftware.com wrote: Hi Guys, Any word on this? BTW, Ryan's email a few emails later on the list asks essentially the same question AFAICT: Did you include an epsg factory jar? See the example at

[Geotools-gt2-users] Any interest in a Google Fusion Table Datastore?

2011-02-02 Thread Ian Turton
using the free AWS machines with limited disc space or just for people with a limited amount of space on their install. There is a java API http://code.google.com/apis/fusiontables/ which seems at first glance to allow basic SQL (-like) requests. Ian -- Ian Turton

Re: [Geotools-gt2-users] Reading shapefiles from URL/web possible?

2011-01-21 Thread Ian Turton
either. Accessing jar files in webstart is (or at least was) a bit of a nightmare so I'd avoid it if you can. Ian -- Ian Turton -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world

Re: [Geotools-gt2-users] difference between user guide and manual

2011-01-06 Thread Ian Turton
On Thu, Jan 6, 2011 at 4:14 PM, mounir younes mounir.you...@gmail.com wrote: Hello Guys, I just wanted to ask what is the difference between the user guide by Jody Garnett http://docs.codehaus.org/display/GEOTDOC/Home was lasted edited in 2008 or the manual by Adrian Custer

[Geotools-gt2-users] Set a NODATA value for a coverage?

2011-01-05 Thread Ian Turton
-- Ian Turton -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node

Re: [Geotools-gt2-users] Building a coverage from an array of doubles/floats?

2010-12-22 Thread Ian Turton
On Tue, Dec 21, 2010 at 8:49 PM, Michael Bedward michael.bedw...@gmail.com wrote: There was some discussion of a WritableGridCoverage2D class a while ago between Simone, myself and other list members. It got as far as a (very) basic example in the demo module

Re: [Geotools-gt2-users] Building a coverage from an array of doubles/floats?

2010-12-21 Thread Ian Turton
coords instead of image coords? Ian -- Ian Turton -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social

Re: [Geotools-gt2-users] Building a coverage from an array of doubles/floats?

2010-12-21 Thread Ian Turton
On Tue, Dec 21, 2010 at 12:56 PM, Andrea Aime andrea.a...@geo-solutions.it wrote: On Tue, Dec 21, 2010 at 4:29 PM, Ian Turton ijtur...@gmail.com wrote: That's the sort of thing I was trying, is there a way to do this with world x,y coords instead of image coords? I think that is normally

Re: [Geotools-gt2-users] geocoding an address using geotools library

2010-12-20 Thread Ian Turton
://www.google.com/search?q=open+source+geocoder Ian - Ian Turton -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter

[Geotools-gt2-users] Building a coverage from an array of doubles/floats?

2010-12-20 Thread Ian Turton
ask here to see if there is an easier way to do this? Thanks Ian PS If you want to see all the code look at http://code.google.com/p/spatial-cluster-detection/source/browse/trunk/cluster/?r=10 -- Ian Turton -- Lotusphere

Re: [Geotools-gt2-users] Natural Breaks algorithm

2010-12-02 Thread Ian Turton
On Wed, Dec 1, 2010 at 10:15 PM, Michael Bedward michael.bedw...@gmail.com wrote: Cool !  Thanks Ian. Just compiled it (added FunctionTestSupport class) and all went well. So far all I've done is look at the unit tests to see what it does. I think it would be a very handy addition to gt-main.

Re: [Geotools-gt2-users] Natural Breaks algorithm

2010-11-09 Thread Ian Turton
/geotools-gt2-users -- Ian Turton -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help

Re: [Geotools-gt2-users] Rotating Map

2010-10-30 Thread Ian Turton
the map. Ian -- Ian Turton -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash

Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Ian Turton
a Shapefile so I don't think it is going to be possible. Ian -- Ian Turton -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud

Re: [Geotools-gt2-users] writing shapefiles to stream

2010-09-30 Thread Ian Turton
2010/9/30 Oleg Evdakov evda...@iwg.uka.de:  Am 30.09.2010 16:09, schrieb Ian Turton: 2010/9/30 Oleg Evdakovevda...@iwg.uka.de:   Dear All, Is it possible to create shapefiles (*.shp and other related files) in OutputStream without writing them to filesystem? You'd need some way to tell

Re: [Geotools-gt2-users] geodatabase

2010-09-28 Thread Ian Turton
a GeoDatabase then you are stuck using ESRI tools, alternatively you could use an open standards based solution such as PostGIS to store your data. Ian -- Ian Turton -- Start uncovering the many advantages of virtual

Re: [Geotools-gt2-users] Problem reprojecting data from WGS 84 / UTM zone 32N to WGS 84 / UTM zone 17N

2010-09-02 Thread Ian Turton
to say why you get any answer as opposed to say an InvalidArgument Exception. Basically this comes down to the earth being round and the screen being flat. Ian -- Ian Turton -- This SF.net Dev2Dev email is sponsored

Re: [Geotools-gt2-users] Stroke with width equals 1.0 problem.

2010-09-02 Thread Ian Turton
), filterFactory.literal(1.0f)); A width of 1 is the default so there is no need to write it out. Try setting it to something else and you should see it written out (anything else is a bug and should be reported I think). Ian -- Ian Turton

Re: [Geotools-gt2-users] determining country of large number of coordinates

2010-08-06 Thread Ian Turton
library. I don't think you need to do a conversion, assuming the points are in the same projection as the polygons JTS and GeoTools will be fine. Ian -- Ian Turton -- This SF.net email is sponsored by Make an app

Re: [Geotools-gt2-users] GeoTools introductory documentation

2010-08-03 Thread Ian Turton
% discount at amazon) - academic publishers are mad, apparently they have to charge that much because hardly anyone buys their books even though they get the content for free. I'll add a blog post on that to my list of todo blog posts, Ian -- Ian Turton

Re: [Geotools-gt2-users] GeoTools introductory documentation

2010-08-03 Thread Ian Turton
competency for GIS professionals. But this week I'm busy with GeoServer docs for the OSGEO-LIVE DVD. Ian -- Ian Turton -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C

Re: [Geotools-gt2-users] dynamic text search queries in postgresql - tsvector column type

2010-07-27 Thread Ian Turton
). If other databases provided a similar function they could be extended in a similar way. For shapefiles and memory stores it might be worth leveraging Lucene but to be honest I'm not sure that people should be considering that sort of query against large shapefiles etc. Ian -- Ian Turton

Re: [Geotools-gt2-users] Is there a global equal-area projection available in GeoTools?

2010-07-14 Thread Ian Turton
in examples is mostly my fault as that is where I was working. This series of posts by Tyler may help - http://www.geowebguru.com/articles/201-choosing-a-map-projection-part-1 Ian -- Ian Turton -- This SF.net email

Re: [Geotools-gt2-users] area after MathTransform is wrong

2010-07-08 Thread Ian Turton
better. Ian -- Ian Turton -- 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

Re: [Geotools-gt2-users] area after MathTransform is wrong

2010-07-08 Thread Ian Turton
there is a parameter to turn that off (try googling it). is there another projection I could try? One of the UTM ones may work. Try browsing http://spatialreference.org to see what looks good. Ian -- Ian Turton

Re: [Geotools-gt2-users] MaxScaleDenominator

2010-06-28 Thread Ian Turton
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Ian Turton -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http

[Geotools-gt2-users] FAQ

2010-06-21 Thread Ian Turton
On Sun, Jun 20, 2010 at 8:19 PM, Jody Garnett jody.garn...@gmail.com wrote: There is already a FAQ; and for common questions a set series of wiki pages to hand out... Hmm - there is mention of a faq at http://docs.geotools.org/ but no link to it. Googling GeoTools FAQ turns up a link (along

Re: [Geotools-gt2-users] geotools+refreshing

2010-06-20 Thread Ian Turton
answers (but not until next week as it's the end of term on Wednesday so I have marking to do this week). Ian -- Ian Turton -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE

Re: [Geotools-gt2-users] geotools+refreshing

2010-06-19 Thread Ian Turton
You are a very rude person! Please stop spamming the list with stupid questions multiple times - I don't know if you have heard of it but there is a very useful tool on the internet called Google that allows you to search to see if a question has been asked before I suggest you use it in future

Re: [Geotools-gt2-users] Zoom changes unexpectedly

2010-06-16 Thread Ian Turton
and zoom to full extent. Feel free to change the code to do something else if that is what you need. Ian -- Ian Turton -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE

Re: [Geotools-gt2-users] Adding SimpleFeature to FeatureCollection from Shapefile

2010-06-15 Thread Ian Turton
? Also you don't say how you create your featureBuilder - do you use the schema from the shapefile? Ian -- Ian Turton -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE

Re: [Geotools-gt2-users] geotools+wms

2010-06-14 Thread Ian Turton
On Mon, Jun 14, 2010 at 12:00 AM, Jody Garnett jody.garn...@gmail.comwrote: Does open street maps publish a WMS? If so what is the link? http://data1.vizure.net/server/services/osm.xml Ian -- Ian Turton -- ThinkGeek

Re: [Geotools-gt2-users] geotools+spatial_ref_sys

2010-06-13 Thread Ian Turton
Congratulations you now have the information you need to proceed with the CRSLab (http://docs.geotools.org/stable/userguide/examples/crslab.html). If when you have worked through that page you still have questions please post them here. Ian -- Ian Turton

Re: [Geotools-gt2-users] geotool+coordinate latitude, longitude

2010-06-10 Thread Ian Turton
. When and only when you have worked this out will we be able to sort out your code for you. Please stop spamming the list with code until you work out some geography. May be http://en.wikipedia.org/wiki/Map_projection this will help you out. Ian -- Ian Turton

Re: [Geotools-gt2-users] geotool+coordinate latitude, longitude

2010-06-08 Thread Ian Turton
-- Ian Turton -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek

Re: [Geotools-gt2-users] ColorMap on polygons

2010-05-21 Thread Ian Turton
graph (http://www.citeulike.org/group/9502/article/6600150) that is on my to do list (but quite low down it :-) I can mail a copy of the PDF to anyone who's interested. Ian -- Ian Turton

Re: [Geotools-gt2-users] WGS84 Point in Polygon

2010-05-19 Thread Ian Turton
+Examples (at the end). Ian -- Ian Turton -- ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2

Re: [Geotools-gt2-users] WGS84 Point in Polygon

2010-05-19 Thread Ian Turton
be using to maintain accuracy. Someone else may be able to help you with that, I don't know if our filters handle projections well (at all?). Ian -- Ian Turton -- ___ Geotools-gt2

Re: [Geotools-gt2-users] error when trying to use WKT projections without library gt-epsg-hsql-2.6.3.jar

2010-05-12 Thread Ian Turton
implementation jar to be present when using GeoTools to do any CRS work but I haven't played with projections for a while. Ian -- Ian Turton -- ___ Geotools-gt2-users mailing list

Re: [Geotools-gt2-users] Getting rendered image

2010-05-11 Thread Ian Turton
and then pass it's graphic to the renderer. Ian -- Ian Turton -- ___ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists

Re: [Geotools-gt2-users] Coordinate Reference System conversions

2010-05-09 Thread Ian Turton
/long so you probably need to be converting to/from a projection like EPSG:4326 (see http://spatialreference.org/ref/epsg/4326/ for more details). Ian -- Ian Turton

Re: [Geotools-gt2-users] ExternalGraphics - gray squares instead images

2010-04-16 Thread Ian Turton
to me - use file.toURL instead to get a working URL. Ian -- Ian Turton -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications

Re: [Geotools-gt2-users] GIS optimization methods

2010-04-12 Thread Ian Turton
or a random choice. Ian -- Ian Turton -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why

Re: [Geotools-gt2-users] Drawing on map/adding additional features

2010-04-11 Thread Ian Turton
will need to add the points to a layer and then style them before adding them to the map context. Ian -- Ian Turton -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find

Re: [Geotools-gt2-users] Centerpoint between two points

2010-04-08 Thread Ian Turton
On Thu, Apr 8, 2010 at 2:22 PM, tor...@gmx.de wrote: Hi, can you please tell me the best way to calculate the center point  between two other given points with latitude and longitude? x=(x2-x1)/2 y = (y2 - y1)/2 Or did you mean something else? Ian -- Ian Turton

Re: [Geotools-gt2-users] Split shapefile by attribute

2010-03-11 Thread Ian Turton
-- Ian Turton -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio

Re: [Geotools-gt2-users] Displaying WMS and Shapefile in the Same ContextPane

2010-03-09 Thread Ian Turton
the same projection? Ian -- Ian Turton -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why

Re: [Geotools-gt2-users] geotools tweet

2010-03-05 Thread Ian Turton
, Ian -- Ian Turton -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel

Re: [Geotools-gt2-users] How to get neighbours of a polygon?

2010-01-28 Thread Ian Turton
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users -- Ian Turton -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network

Re: [Geotools-gt2-users] [SPAM] Re: bug in JMapPane?

2010-01-28 Thread Ian Turton
my thick swing book. I'm seeing this on a Vista 64 bit machine btw. Ian -- Ian Turton -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network

Re: [Geotools-gt2-users] bug in JMapPane?

2010-01-26 Thread Ian Turton
). I can confirm that I have seen this bug too - I was planning on putting it in JIRA when I had more time to see what was happening. Ian -- Ian Turton Sent from State College,PA,United States,40.79371,-77.86071

Re: [Geotools-gt2-users] How to: Make Transparent Overlay Layer?

2009-12-17 Thread Ian Turton
If you use a LinePlacement instead of a PointPlacement then the label will align with the line and save you calculating the angle for each label. Ian -- Ian Turton Sent from Chatham, New Jersey, United States

Re: [Geotools-gt2-users] BBOX query leads to SQL-Error

2009-09-03 Thread Ian Turton
On Thu, Sep 3, 2009 at 10:02 AM, Julian Hagenauerjulian.hagena...@gmx.de wrote: Hi, sorry for writing again. I hope i did not made it onto your ignorelist :-) Ok, because i can not solve my troubles with the wfs i decided to switch to postgis. So good, so fine. Unfortunately my bbox-query

Re: [Geotools-gt2-users] ExternalGraphic in SLD: Argument value should not be null.

2009-09-02 Thread Ian Turton
/public_building.png into your browser? My guess would be you need a 8080 in there. You can always allow for this sort of thing happening by specifying a list of external graphics and a final mark in the SLD. See https://www.e-education.psu.edu/geog585/l5_p6.html Ian -- Ian Turton http://www.geotools.org http

Re: [Geotools-gt2-users] How to draw over JMapPane

2009-06-23 Thread Ian Turton
of this icons must be blinking... That probably isn't possible and is also not really a good idea - could you draw a larger or more colourful border to your points. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] WMS SLD

2009-06-23 Thread Ian Turton
support REST webservices but I'm not sure You could use SOAP to send the SLD file to a servlet which writes it to a specific location and then you could use that URL to refer to the style in your WMS request. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] WMS SLD

2009-06-22 Thread Ian Turton
On Mon, Jun 22, 2009 at 5:58 AM, Modyelmod...@gmail.com wrote: Hi, I would like to send a sld file and save it into any wms. Is it possible to do that with Geotools labaries?      I've tried with that wms.createPutStyleRequest but there is an error which means that the operation is not

Re: [Geotools-gt2-users] Layer Not Showing

2009-06-18 Thread Ian Turton
On Wed, Jun 17, 2009 at 4:45 PM, ATIluong8...@hotmail.com wrote: Hi,    i am looking at the MapViewer demo in relation to my project and taking ideas from their into mine, in particular the load function. At present, the application uses a file-open technique where the user selects the .shp

Re: [Geotools-gt2-users] Using Style in conjunction with my .SLD file

2009-06-15 Thread Ian Turton
? No - as you will see in MapViewer it is easy to style and display a shapefile (really you need to forget about the dbf file - it's just part of the shapefile). Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] Using Style in conjunction with my .SLD file

2009-06-13 Thread Ian Turton
On Sat, Jun 13, 2009 at 7:24 AM, ATIluong8...@hotmail.com wrote: Once i have the sld file and parsed it, what do i do next, and how, inorder to display the roads from my .dbf onto my app? Any suggestions. Look at the MapPane demo - it reads in a shapefile and an SLD file and displays them.

Re: [Geotools-gt2-users] Using Style in conjunction with my .SLD file

2009-06-12 Thread Ian Turton
. If it's code then I'm less able to help, but it may be you are looking at the concept wrong. You are not in fact trying to render text from a dbf file but are trying to render a string attribute from your features. That may help. Ian -- Ian Turton http://www.geotools.org http

Re: [Geotools-gt2-users] Drawing Boxes on JMapPane, Why?

2009-05-19 Thread Ian Turton
On Tue, May 19, 2009 at 3:29 PM, nvidia luong8...@hotmail.com wrote: Hi,   i am currently using geootools with JMapPane. I've noticed that when i use the JMapPane, i see a cross hair which seem fine to me. However, when i drag and click on the JMapPane, i am able to draw boxes. How can

Re: [Geotools-gt2-users] How to maintain zoom in JMapPane when the frame is maximized?

2009-04-14 Thread Ian Turton
On Tue, Apr 14, 2009 at 10:48 AM, Yanaris Jorge Aguirre yanaris.jo...@dds.desoft.cu wrote: Hi, I'm using a JMapPane control inside a frame. I make a zoom to the map and when I resize, maximize, or minimize the frame the zoom's level is loosed. I would like to maintain the zoom I had when I

Re: [Geotools-gt2-users] JMapPane-slow zooming

2009-04-14 Thread Ian Turton
to write a new map pane, JMapPane is meant to be an example of how to do it not a production class. Are there some plans for revisioning JMapPane class in near future relating to this issues? Not at present. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] Styling problem

2009-01-27 Thread Ian Turton
On Tue, Jan 27, 2009 at 12:49 PM, nvidia luong8...@hotmail.com wrote: Hi, i'm using the tutorials to help me build my gis app to essentially diplay my shapfile which is done by selecting the file name via java's file menu item. I a number of files, 1 of which is called ConstructStyle.java

Re: [Geotools-gt2-users] Using OpenStreet Map as Shapefile

2008-08-24 Thread Ian Turton
On Sat, Aug 23, 2008 at 5:17 PM, nvidia [EMAIL PROTECTED] wrote: Ian Turton wrote: On Sat, Aug 23, 2008 at 12:45 PM, nvidia [EMAIL PROTECTED] wrote: Hi, Is it possible to convert the maps on OpenStreetMap to shapefile? and store this into a database? As the site does not provide any

Re: [Geotools-gt2-users] Using OpenStreet Map as Shapefile

2008-08-23 Thread Ian Turton
. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.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

Re: [Geotools-gt2-users] StyledMapPane replacement

2008-07-15 Thread Ian Turton
On Tue, Jul 15, 2008 at 2:34 PM, Tim Swanson [EMAIL PROTECTED] wrote: I'm working on converting a code base from GeoTools 2.1M2 to 2.5M2. The code that I currently have uses the StyledMapPane (org.geotools.gui.swing). This class doesn't exist in the current version, is JMapPane its

Re: [Geotools-gt2-users] How can I show 3 diff. gif images into point layer in JMapPane

2008-04-10 Thread Ian Turton
On Thu, Apr 10, 2008 at 4:45 AM, atanu moitra [EMAIL PROTECTED] wrote: I have got a shape file (named as image.shp) where 3 diffrent points r given. the name of the gif images are given in the Image field of image.dbf file. I want to show those images into JMapPane as an image layer. The

Re: [Geotools-gt2-users] SLD newbie looking for a head start

2008-01-23 Thread Ian Turton
:-) Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct

Re: [Geotools-gt2-users] How can I listen to ZoomIn/Out on JMapPane

2007-12-20 Thread Ian Turton
) it's rather ugly; 2) this way I don't know current scale. Please help me, I have spend much time for it, but still can't solve this problem. I think you could listen to change events from the underlying mapcontext, have a look in the demo of map pane for an example I think. Ian -- Ian Turton

Re: [Geotools-gt2-users] Map Drag view with pan tool

2007-10-29 Thread Ian Turton
(), this.getHeight()); ((Graphics2D) graphics).drawImage(baseImage, dx, dy, this); } lastX = x; lastY = y; } . Does that help you? Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] Convert ScreenXY to World Lat Long

2007-10-25 Thread Ian Turton
) * height) / (double) bounds.height) + mapArea.getMinY(); where mapArea is the envelope that represents the bounds of the viewing area. See JMapPane.mouseClicked(MouseEvent e) for full code examples. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] Line Styles in Geotools

2007-09-18 Thread Ian Turton
On 9/17/07, Govardhan [EMAIL PROTECTED] wrote: Dear Sir/ Madam, I want to give arrow style in the lines (Road features). Is there any way to do this in Geotools.. ?? use the (non standard) mark called arrow as a graphic stroke. Ian -- Ian Turton http://www.geotools.org http

Re: [Geotools-gt2-users] select features

2007-09-04 Thread Ian Turton
On 9/4/07, Polyborus plancus Brasiliensis [EMAIL PROTECTED] wrote: Hi, Please, if somebody would help me. I want to do this: when the user click on the map I want to select the features around, and I really don't known how to do this. Take a look at the JMapPane demo, there is a selection

Re: [Geotools-gt2-users] mouseClicked on JMapPane

2007-07-31 Thread Ian Turton
(); double height = mapArea.getHeight(); double mapX = ((x * width) / (double) bounds.width) + mapArea.getMinX(); double mapY = (((bounds.getHeight() - y) * height) / (double) bounds.height) + mapArea.getMinY(); Ian -- Ian Turton http://www.geotools.org http

Re: [Geotools-gt2-users] Legends again..

2007-07-18 Thread Ian Turton
with geotools? I think you are discovering why none of us bother with them :-) -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C

Re: [Geotools-gt2-users] Rendering when using SLD WellKnownName = circle

2007-06-26 Thread Ian Turton
. My initial though was that you had two symbolizers in one rule which would give this output but you don't so I'm going for bug. I'm not sure which renderer geoserver uses so I'm not sure how to proceed with reporting this, Andrea do you know? Ian -- Ian Turton http://www.geotools.org http

Re: [Geotools-gt2-users] The status of map displaying in GeoTools

2007-06-14 Thread Ian Turton
On 6/13/07, Jody Garnett [EMAIL PROTECTED] wrote: If you want to know the status of any module please check this page: - http://docs.codehaus.org/display/GEOTOOLS/Module+Matrix The mappane module is unsupported, and does not even have a page yet! Ian Turton can you take care of this please

Re: [Geotools-gt2-users] What to use instead of Filter?

2007-05-25 Thread Ian Turton
On 5/22/07, Ian Turton [EMAIL PROTECTED] wrote: On 5/10/07, Justin Deoliveira [EMAIL PROTECTED] wrote: Hi Ian, Were you creating the geoapi filters using the FilterFactory? I believe you are correct in that that interface has a dependency on geoapi geometry. However the FilterFactory2

Re: [Geotools-gt2-users] What to use instead of Filter?

2007-05-22 Thread Ian Turton
features when I query a featureSource with it. So am I missing something obvious or do I need to start stepping through in a debugger to see whats really happening in side. Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com

Re: [Geotools-gt2-users] What to use instead of Filter?

2007-05-11 Thread Ian Turton
filters without geoapi geometries. That sounds right, I'll have a try with FF2 and see how it goes. Thanks Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com/ - This SF.net email is sponsored by DB2

Re: [Geotools-gt2-users] What to use instead of Filter?

2007-05-10 Thread Ian Turton
as I needed a GeoAPI geometry for my new (GeoAPI) filter and was unable to find any way to create one, and none of the GeoTools geometries seem to implement the GeoAPI interfaces. So I gave up and went back to the deprecated filters. Ian -- Ian Turton http://www.geotools.org http

Re: [Geotools-gt2-users] may touch a inner and outer rings ?

2006-11-28 Thread Ian Turton
. I didn't find anything in GML document about the common point of inner and outer rings. That's definitely not allowed in which ever spec it is that defines Polygons - I forget which spec JTS (and thus GeoTools) implements for geometry. Ian -- Ian Turton http://www.geotools.org http

<    1   2   3   4   >