[OpenLayers-Users] OpenLayers Read From Text File
bradleyspencer
brad at cubewerx.com.au
Mon Nov 26 18:26:21 EST 2007
Brad,
Yes. Once you have the information inside the application DOM you can build
select boxes, tables, etc so that the users can interact with them.
Have a look at one demonstrator I built with GoogleMaps API (its not much
different with OpenLayers).
http://demo.cubewerx.com.au/bi_demo.html
Cheers,
Brad Spencer
-----Original Message-----
From: Bradley McLain [mailto:bradley_mclain at debortoliwines.com]
Sent: Tuesday, 27 November 2007 10:07 AM
To: Linda Rawson; bradleyspencer
Cc: OpenLayers Users
Subject: Re: [OpenLayers-Users] OpenLayers Read From Text File
@ Linda I have been told that it would be preferable not to directly access
the information, they would prefer that the information is dumped nightly to
something else (text file or another database) and then accessed that way. I
thought that a text file would be the easier option, given the smaller size
and ease of maintenance.
@Brad, this sounds like the kinda of thing that I want to do. Doing it this
way will I be able to build some sort of interface that allows users to
search and display the markers that they want?
Cheers
Brad
On 27/11/2007, Linda Rawson < linda.rawson at gmail.com
<mailto:linda.rawson at gmail.com> > wrote:
Why don't you just create a database view of the information and make it
available via a web service and your users would always have up to date
information.
Linda
On Nov 26, 2007 3:12 PM, Julien-Samuel Lacroix < jlacroix at mapgears.com
<mailto:jlacroix at mapgears.com> > wrote:
Hi,
You have a great resource of examples here:
http://www.openlayers.org/dev/examples/
Check the markersTextLayer.html example to have an example of a layer
that comes from a csv file.
( http://www.openlayers.org/dev/examples/markersTextLayer.html
<http://www.openlayers.org/dev/examples/markersTextLayer.html> )
There's also use gml (see the gml-layer.html) if you prefer xml files.
Julien
Bradley McLain wrote:
> Ok what I am trying to do is to have a progress database dump all
> relevant information about various locations in some form of text file
> nightly.
>
> I then want to use OpenLayers to read from/query this file and display
> the relevant information.
>
> I was wondering if this is possible to do, can OpenLayers read/query a
> text file such as a csv or xml?
>
> Cheers
>
> Brad
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org <mailto:Users at openlayers.org>
> http://openlayers.org/mailman/listinfo/users
--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
_______________________________________________
Users mailing list
Users at openlayers.org <mailto:Users at openlayers.org>
http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071127/ad821a70/attachment.html
More information about the Users
mailing list