[OpenLayers-Users] OpenLayers Read From Text File

Bradley McLain bradley_mclain at debortoliwines.com
Mon Nov 26 18:06:30 EST 2007


@ 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> 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>
> 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)
> >
> > 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
> > > http://openlayers.org/mailman/listinfo/users
> >
> > --
> > Julien-Samuel Lacroix
> > Mapgears
> > http://www.mapgears.com/
> > _______________________________________________
> > Users mailing list
> > 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/f6cf341e/attachment.html


More information about the Users mailing list