|
From: Peter S. <co...@pe...> - 2007-07-11 11:38:03
|
This is not neccesary in the lmappletserver_addons libraries. This should b= e=20 handled by each implementing application. The lmappletserver_addons urls should be completely open by default. regards, Peter On Wednesday 11 July 2007 13:02:11 Jon =C3=85kerstr=C3=B6m wrote: > Also I'm curious how will the kml be secured? Have you looked into that? > How do we avoid users that are not allowed to view the units in the .kml > gets access to them simply by knowint the url? > > Best regards > Jonte > > On Wed, 2007-07-11 at 12:49 +0200, Peter Salomonsen wrote: > > Hi Roberto, > > > > Your question whether we should use region or placemark, makes me think > > we should generalize this even more. Cause we really want to be able to > > use everything. The objects might be fixed, but also moving - so the kml > > must be customizable. > > > > So my question is: > > > > - Would it be possible to create a report template that produces xml > > (which in this case will be kml)? > > - The kml url mention earlier, will then instead of being kml specific, > > be mapped to a report - so that you can get a report (with any template) > > on the fly just using a url. How would this be? > > > > regards, > > > > Peter > > > > On Tuesday 10 July 2007 16:58:18 you wrote: > > > Hi Peter, > > > > > > Yes, I started looking into the google-map integration. > > > > > > The approach to this task would be to create e a servlet with *.kml > > > mapping. The request with > > > http://lmappletserver.lightminds.com/lmas-addons-example/ > > > kml/mysearch.kml<http://lmappletserver.lightminds.com/lmas-addons-exa= mp > > >le/k ml/mysearch.kml>, that mysearch will be the saved search name, th= is > > > I think is the best because the Saved search name is unique, and can = be > > > used as identifier. When the servlet is called and executes the saved > > > search a transformer class will create the mysearch.kml content string > > > from the result of the search. Then this string will be sent to the > > > client as output stream. At this moment I look at two approaches, and= I > > > would like for you to tell which one to use, first one is to use the > > > Placemark tag to create a yellow pin(in Google Earth), and lead the > > > user to that spot. This is done by kml like this: > > > > > > <?xml version=3D"1.0" encoding=3D"UTF-8"?> > > > <kml xmlns=3D"http://earth.google.com/kml/2.1"> > > > <Placemark> > > > <name>Macky Auditorium</name> > > > <description>University of Colorado.</description> > > > <LookAt> > > > <longitude>-105.2727379358738</longitude> > > > <latitude>40.01000594412381</latitude> > > > <altitude>0</altitude> > > > <range>127.2393107680517</range> > > > <tilt>65.74454495876547</tilt> > > > <heading>-27.70337734057933</heading> > > > </LookAt> > > > </Placemark> > > > </kml> > > > > > > Or we can use the Region tag, and show regions of the airport, and be > > > visible only when the user reaches certain zooming resolution. This is > > > done by kml like this: > > > > > > <?xml version=3D"1.0" encoding=3D"UTF-8"?> > > > <kml xmlns=3D"http://earth.google.com/kml/2.1"> > > > <Document> > > > <name>romania Document</name> > > > <Region> > > > <LatLonAltBox> > > > <north>50.625</north> > > > <south>45</south> > > > <east>28.125</east> > > > <west>22.5</west> > > > </LatLonAltBox> > > > <Lod> > > > <minLodPixels>128</minLodPixels> > > > <maxLodPixels>1024</maxLodPixels> > > > </Lod> > > > </Region> > > > </Document> > > > </kml> > > > > > > Here because of the fact that in the current database we have only > > > latitude, longitude and altitude we have to make coordinate > > > transformation, therefore I think that this approach is not appropria= te > > > for our application. > > > > > > Regards, > > > Roberto > > > > > > On 7/9/07, Peter Salomonsen <co...@pe...> wrote: > > > > Hi, > > > > > > > > This and the checkbox scrollbar looks good as far as I can see.. > > > > > > > > Have you looked into the google-map (kml) integration? > > > > > > > > regards, > > > > > > > > Peter > > > > > > > > On Sunday 08 July 2007 17:59:30 you wrote: > > > > > Hi Peter, > > > > > > > > > > The change to display the metadatacolumn name is no key exists in > > > > > property file is commited. Additionally I did anothetr small chan= ge > > > > > to display the localized strings in the search combo box. > > > > > > > > > > Regards, > > > > > Roberto > > > > > > > > > > Peter Salomonsen wrote: > > > > > > Hi Roberto, > > > > > > > > > > > > The new MetaDataColumnNames.properties file works just perfect. > > > > > > Could > > > > > > > > we > > > > > > > > > > also extend it so that if a key doesn't exist, the metadatacolu= mn > > > > > > name > > > > > > > > is > > > > > > > > > > showed directly? > > > > > > > > > > > > regards, > > > > > > > > > > > > Peter > > > > -----------------------------------------------------------------------= =2D- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Lmappletserver-developers mailing list > > Lma...@li... > > https://lists.sourceforge.net/lists/listinfo/lmappletserver-developers |