[OpenLayers-Users] blueprints & vectors to openlayers

Nicholas Efremov-Kendall n.e.kendall at gmail.com
Wed Jul 8 09:30:53 EDT 2009


Hi,
What do you mean by over 100 vectors? individual layers, blocks of geometry,
what? You probably mean features. Your vector layers are going to represent
something semantic about your shelving system, maybe one layer per floor,
with x number of features per layer. By 'manually making the layers in Qgis'
do you mean your going to be digitizing? or producing a mapserver map file
for OL to work with. I've been working with a vector heavy application, and
the performance suffers, be advised.

I think what you really need is a shape tree index, which comes with the
basic GDAL utilities (shape tree or something). The minimum shapefile is
going to have to be whatever unit of analysis your working with (shelf), and
then you'll need to index them for performance. You'll have to repeat this
for each raster layer to produce a tilechache (sorry, can't help).  If
you're using QGIS, you can probably export to Mapserver, and that might end
up doing some of the heavy lifting for you. This gets a little bit more
complex, because you're describing a 3-d array, so you'll have to define a
z-index (corresponding to elevation) on your blueprints (assuming they
correspond to different levels).

So, I think you'll need a separate shape and tile index (they're two
different kinds of data) for each of the three levels. I'm guessing that the
blueprints are largely heuristic, and the real info is going to be
associated with the vector data.
beyond that, since I don't know what else this program is going to do, I
don't know what else to say.

On Tue, Jul 7, 2009 at 7:58 AM, fuhrysteve <fuhrysteve at gmail.com> wrote:

>
> I've been trying to get openlayers working with big scanned blueprints and
> a
> lot of overlaying vectors (~100 or so.. i'm planning on manually making
> them
> in qGIS..) representing shelves in our three warehouses. the purpose of the
> vectors is to have interactive content (click on shelf to bring up
> additional data).
>
> I've done a bunch of google maps stuff in the past, but working with the
> more technical details of GIS is proving a bit more challenging..
>
> Here are what steps I *think* i should be taking to best produce my end
> result:
>
> 1. create shapefiles in qGIS over the blueprints
> 2. somehow tell gdaltindex to index my shapefiles as a raster layer and
> blueprints?
> 3. somehow have gdal2tiles make both of these layers into tiles
> 4. profit
>
> Can anyone give me some pointers here? Any help is appreciated.
> --
> View this message in context:
> http://n2.nabble.com/blueprints---vectors-to-openlayers-tp3218765p3218765.html
> Sent from the OpenLayers Users mailing list archive at Nabble.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/20090708/1d0a3fa7/attachment.html


More information about the Users mailing list