MapTools.org

[maplab-users] Re: Question

Paul Spencer spencer@dmsolutions.ca
Thu, 11 Sep 2003 13:55:06 -0400
MapLab doesn't do anything special with postgis layers.  If you are 
talking about query results coming from querying a postgis layer, I have 
not tried this ... I'll talk to the other guys about experimenting with 
this as a couple of them are playing with postgis right now.  The MapLab 
query results do not use any sort of metadata, they just display all the 
attribute information available through a layer->open() call.  You may 
need to restrict the columns returned from your postgis layer in its SQL.

If you are using a GMapFactory application, you may want to edit the 
query results page to customize your display.

Cheers,

Paul

woodbri@swoodbridge.com wrote:

>Sorry, I haven't done anything with PostGIS, maybe some of the other 
>lister can help.
>
>-Steve
>
>On 11 Sep 2003 at 13:10, Jim Finerfrock wrote:
>
>  
>
>>Steve,
>>
>>I have completed all the METADATA TAGS within my mapfile. All works
>>returning column info when DATA is a shapefile, yet does not work when
>>DATA is a PostGIS table. I have tried to even put the columns in the
>>DATA statment and still nothing is returned. Any more ideas would be
>>helpful.
>>
>>Jim
>>
>>woodbri@swoodbridge.com wrote:
>>    
>>
>>>James,
>>>
>>>I believe you need to have the columns defined in a METADATA section
>>>of the layer to tell maplab what columns to display. Applications
>>>like maplab have different rules that they implement on top of
>>>mapserver. So, mapserver has a set of minimal requirements and any
>>>application built on it will add its own assumption on top of that,
>>>like whether or not METADATA tags are required and what format they
>>>are in.
>>>
>>>-Steve
>>>
>>>On 9 Sep 2003 at 7:10, James Finerfrock wrote:
>>>
>>>
>>>      
>>>
>>>>Thanks for getting back to me regarding this. I have finally gotten
>>>>the multiple query to work.
>>>>
>>>>However, although it was a configuration issue, I had a question,
>>>>since you brought it up, regarding TEMPLATES.
>>>>
>>>>I had TEMPLATE defined and also included in the DATA query those
>>>>columns to return. However, using mablab it seems to be ignoring the
>>>>actual template html and the PostGIS column query and instead
>>>>returning all columns found in PostGIS. Is there something I missed
>>>>here? To me these are both basic functions of Mapserver, yet I
>>>>cannot get either to work....
>>>>
>>>>Thanks again for you time.
>>>>
>>>>Jim
>>>>
>>>>        
>>>>
>>>
>>>
>>>      
>>>
>>
>>    
>>
>
>
>_______________________________________________
>Maplab-users mailing list
>Maplab-users@dmsolutions.ca
>http://lists.dmsolutions.ca/mailman/listinfo/maplab-users
>
>  
>

-- 
--
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca





This archive was generated by Pipermail.