Thanks Armin for the prompt reply,

I am basically looking for attribute search on fields on postgis layers but
it should be a SQL query string that should be created dynamically according
to user requirements. Using the search.xml we are only able to search for
one field at a time but what I need is multiple field search with "Where
clasuse" and also i have many layers so defining the search.xml for each
layer and for each field will be a huge task.

Here is a more specific detail about the multiple queries that I am looking
for please visit this page http://samiazmi.googlepages.com/pmapper.htm. I
have almost made the interface ready as can be seen. I need the
connectivity, like which is the file that needs to be invoked and what are
the parameters that need to be passed inorder to achieve my goal.

I have made a separate php file that contains all the interface related
tools. Now is it possible to generate a query string and pass it as a normal
SQL query 
through pmaaper to PostGIS layer, if yes which javascript need to be invoked
and what is the
format in which the query string needs to be passed???

e.g. SELECT * FROM <lyr_name> WHERE <field1 > #### > OR <field2 < #### >

Hope you got the problem.

Waiting in anticipation

Regards

Samee 



Armin Burger wrote:
> 
> what do you mean with "making SQL queries"? Attribute search on fields 
> of the Postgis layers? Then see this
> 
> http://svn.pmapper.net/trac/wiki/UpgradeInfo
> 
> armin
> 
> Samee Azmi wrote:
>> Hello Group,
>> 
>> I have installed postGIS and its working fine. I have imported shapefiles
>> to
>> postgis and am able to access it through p.mapper.
>> 
>> Can any one let me know the steps involved in making SQL queries through
>> POSTGIS on the imported shapefiles. I tried searching the forums but dint
>> get any thing relevant.
>> 
>> Waiting in anticipation.
>> Regards
>> 
>> Samee
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Regarding-PostGIS-and-Query-tf4464638.html#a12732105
Sent from the pmapper users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to