[mapguide-users] Displaying points of given GPS coordinates

Carmelo Saffioti csaffi at libero.it
Mon Nov 17 04:29:33 EST 2008


Are you talking about the javaviewersample ?
I tried using the "Query" Tasks item on the right side popup. Is it possible
to use it for dynamically display points og given GPS coordinates?

I get this compiler error when I try to use the Query Task item:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 50 in the jsp file:
/javaviewersample/query/classes/query.jsp
JSONArray cannot be resolved to a type
47:
48:      public String getNumOp()
49:  {
50:      JSONArray jsonArray = new JSONArray();
51:      for(int i=0;i<6;i++)
52:      {
53:   jsonArray.put(numOperators[i]);

Even if I followed the instructions on how setting up it, I get that error.
It seems that the json.jar is not found... isn't it? But I followeed this
instruction:
Copy json.jar from C:\Program
Files\Autodesk\MapGuideEnterprise\WebServerExtensions\www\javaviewersample
to C:\Program
Files\Autodesk\MapGuideEnterprise\WebServerExtensions\www\WEB-INF\lib


Please help me
Cheers
Carmelo

----- Original Message ----- 
From: "Mauricio Villablanca" <mgvillablanca at yahoo.com>
To: <mapguide-users at lists.osgeo.org>
Sent: Saturday, November 15, 2008 8:20 AM
Subject: Re: [mapguide-users] Displaying points of given GPS coordinates


>
> Look at the samples. One of them shows how to dynamically create points of
> interests.
>
>
>
> Carmelo Saffioti wrote:
> >
> > Hi everybody,
> > I successfully imported into MapGuide my planimetry exported as SHP and
as
> > SDF. I need to display on the map some GPS points which have a lat/lon
> > coordinate. The map coordinate system is LL84 (WGS84), therefore the
> > coordinate system should be the same for these GPS points and for the
map.
> > How can I do to display points with given coordinates on the map? Is
there
> > any example or tutorial or other?
> >
> >
> > Thank you in advance
> > Cheers
> > Carmelo
> > _______________________________________________
> > mapguide-users mailing list
> > mapguide-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >
> >
>
> -- 
> View this message in context:
http://www.nabble.com/Displaying-points-of-given-GPS-coordinates-tp20479019p20513108.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list