Attribute searches just work on layers, not groups. So in your case you
have to decide which of the grouped layers to use for the search. In
principal it would be possible to use the same mechanism as for identify
(collecting results for layers of a group) but that was never implemented.
/a
On
Hi,
I have one problem, I have 2 SHAPEfiles (point and polygon) and I want
search in both.
Exemple:
I want search Topdown's city in all SHP's (point and polygon) in same time.
Is there one way?
MAPFILE:
LAYER
NAME "City"
GROUP C
Dear Armin,
I got in trouble with attribute search on Linux when the locale LANG is
other than the shape file encoding. I use version 4.2.0.
In my case LANG=en_US.UTF-8 and LAYER_ENCODING is ISO-8859-2. The problem is
caused by the following line in suggest.php in function msSuggestMatch
$val =
Hi,
This is something I find useful to share with others. Thanks to Zoltan, I have
been able to solve my issue with following:
I have polygon shape file representing land parcels. Each parcel has its number
defined in associated dbf file. Besides, there is data stored in MySQL table
representi
Armin,
Thanks for the information. Do you think it would be possible to use native
MapServer joins for this, like described here:
http://mapserver.org/mapfile/join.html
and use MySQL fields in RESULT_FIELDS? I suppose not...
regards, dejan
On 25. kol. 2010., at 19:28, Armin Burger wrote:
I updated the docs for this issue, see "limitations" part at
http://svn.pmapper.net/trac/wiki/DocManual?version=77#JoiningDatabasetablestolayers
armin
On 24/08/2010 13:07, Dejan Gambin wrote:
> Hi,
>
> I have successfully made a join from shape file to MySQL database using
> RESULT_JOIN syntax
Hi,
I have successfully made a join from shape file to MySQL database using
RESULT_JOIN syntax like this:
"RESULT_JOIN"
"mysql://user:pas...@localhost/database_name||table_n...@table_join_field@1...@name,owner||SHAPE_JOIN_FIELD||1"
I have also slightly modified sqery.php so that one-to-
On 17/08/2010 10:16, Hermann Karl wrote:
> Dear List,
>
> If the password in the connection string to postgres is encrypted
> and CONFIG "MS_ENCRYPTION_KEY" is set in the mapfile the layers are
> displayed but attributesearch does not work.
>
> Karl
it does not work since this is a pure MS specif
Dear List,
If the password in the connection string to postgres is encrypted
and CONFIG "MS_ENCRYPTION_KEY" is set in the mapfile the layers are
displayed but attributesearch does not work.
Karl
--
This SF.net email is sp
The whole part for filters and expressions is a mess and there are
still bugs. But at least the current version 5.2 returns FALSE if no
FILTER tag is set for the layer, and does not return the stupid
"(null)". I'm not testing p.mapper with ancient versions of
Mapserver/Mapsript. If you do not want
Hi,
I often do that.
For instance: I use the geographical objects in a table but with few
attributes. This is the layer I have in the TOC. Then I use the same
geographical table, but joined with attributes tables. Those are the
queriable layers in my mapfile. So only 1 is shown, but the other
I understand, thanks for the info.
I have accidentaly realised that by putting this layer in config.ini and
removing from categories list (if you use categories of course) the layer
is not shown but I can query it successfully :-)
Just a note related to query:
On my Linux Ubuntu (dapper) machi
You can try to modify this behaviour in toc.js. But if you use
categories then you will have overlapping functions to enable/disable
the checkbox and you need to figure out which logic you want, and then
modify everything accordingly.
armin
On Thu, Oct 30, 2008 at 8:06 AM, <[EMAIL PROTECTED]> wr
I agree with you Armin. I really don't need this necessarily.
What I wanted - I have a point layer with 27.000 points labeled by a
cadastrial number. When I try to turn on this layer at full extent, it
freezes and never ends. So I put MAXSCALE for this layer and everything
works ok. The layer
Layers that are not in the config.ini will very likely not work with
various functions like queries since they are not referenced in the
p.mapper layer and groups objects (thats different objects than pure
Mapscript layers). Hence they produce errors when trying to read some
specific attributes
Hi,
I want to display a point layer (labeled by its attribute field) on the
map, without showing it in TOC/legend. If I am correct, it can be done by
setting the status of the layer to DEFAULT in map file and removing it
from config.ini. Then it is drawn always.
This works fine but doing attri
Hi cristian78,
Sorry, I'm not sure about what you mean. If it's a question, please write in
another way so I can understand.
Best regards,
Ha
From: cristian78 <[EMAIL PROTECTED]>
Subject: Re: [pmapper-users] Attribute search with p.mapper 3.1 b
Thank you very much for your answer ! It's almost everything I need for drawing
graph. Although the articles're in German, but the examples're so clear that I
don't need to translate :))
Best regards,
Ha
Armin Burger <[EMAIL PROTECTED]> wrote:
Tran Tho Ha wrote:
> - How can I draw a graph or
Hi Armin !
Thank you for your answer !
Yes, I would like to try and test. Please send me these files.
Best regards,
Ha
Armin Burger <[EMAIL PROTECTED]> wrote: Currently there are no more
explanations about possible settings for
attribute search than for using simple search mechanisms. It take
Tran Tho Ha wrote:
> - How can I draw a graph or chart ? (e.g: compare values of population in 3
> years)
There were once some examples how to use basic pie charts on the
Mapserver mailing list with some extended symbols. But I don't know if
it's also supported in the legends. There is a link
I am up for beta testing!
Send the file to me.
Bye
Luca
Il giorno 04/giu/07, alle ore 19:19, Armin Burger ha scritto:
> Currently there are no more explanations about possible settings for
> attribute search than for using simple search mechanisms. It takes
> time
> to document all possibilit
Currently there are no more explanations about possible settings for
attribute search than for using simple search mechanisms. It takes time
to document all possibilities and also not all settings are thoroughly
tested, especially not in combination with each other. In principal it
should have
hi...
how do you know if the search.xml is correct??.. I have a problem, when
simplexml_load_file it must to load the search.xml...
thanks..
Cristian
Tran Tho Ha wrote:
>
> Hi everybody, hi Armin !
> For my first question, I found the answer: just add the attribute
> "compare" into " name="P
Hi everybody, hi Armin !
For my first question, I found the answer: just add the attribute "compare"
into "
I did it by trying to read the source code. Are there any guides about how to
customize "search" with search.xml ?
If possible, can you write this guide ?
Thank you very much !
---
Hi everybody, hi Armin !
I start using p.mapper 3.1 beta-6, it's really great ! Thanks Armin and others
who developed it.
I have some questions:
- How can I do a attribute search within a layer like this: Population>40 ?
I edit search.xml but it seems only works with "=" and not with other op
To: Dejan Gambin
> Cc: pmapper-users@lists.sourceforge.net
> Subject: Re: [pmapper-users] Attribute search with connectiontype ogr
>
> p.mapper is tested with shapefiles and PostGIS for the vector
> part. All other types of vector layer sources (mapinfo, OGR,
> etc) might work,
p.mapper is tested with shapefiles and PostGIS for the vector part. All
other types of vector layer sources (mapinfo, OGR, etc) might work, but
it is not guaranteed. For these types of layers users are welcome to
contribute patches and I will integrate them into the main code, but I
myself will
Hi,
I have a layer with CONNECTIONTYPE OGR and DATA like "select x.ID, y.NAME
from x LEFT JOIN y ON x.ID = y.ID"
"x" is dbf file from the layer/shape, and y is "standalone" dbf file.
Everything works but I would like to do an attribute search for y.NAME.. Is
it possible using newest search engin
28 matches
Mail list logo