[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis] Methods in geometry classes.
From:       Henry Holland <hjholland () gmx ! net>
Date:       2002-03-15 8:14:20
Message-ID: Pine.LNX.4.44.0203151003570.1190-100000 () st12 ! stats ! ru ! ac ! za
[Download RAW message or body]

Ismail,

You don't provide the full context in which this error is thrown (a
couple of lines of the source code for QueryToolInterface will help). It
looks like the line
  MultiPolygon siteBoundary = setValue( siteBoundaryString );

should be something like:
  PGgeometry pgg = new PGgeometry();
  pgg.setValue( siteBoundaryString );
  MultiPolygon siteBoundary = ( MultiPolygon )pgg.getGeometry();

that is, if you insist on using setValue().

it would probably make more sense to use:
  MultiPolygon siteBoundary = new MultiPolygon( siteBoundaryString );

Hope this helps...

Henry



On Thu, 14 Mar 2002, Ismail Bouabdallah (CS) wrote:

> Hello,
>
> I am trying to use the methods in the org.postgis classes, such as the
> set value method in PGgeometry, but my compiler keeps on returning error
> like this one:
>
> QueryToolInterface.java:262: cannot resolve symbol
> symbol  : method setValue  (java.lang.String)
> location: class canned_classes.QueryToolInterface
>                 MultiPolygon siteBoundary = setValue(siteBoundaryString);
>
>                                                                   ^
> 1 error
>
>
> does anyone know what it is I am doing wrong?
>
> Regards Ismail
>
>
>
>
> To unsubscribe from this group, send an email to:
> postgis-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe@yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic