[GeoMoose-users] Search tool

Dan Little theduckylittle at gmail.com
Wed Jun 8 04:53:01 PDT 2022


Please include the GeoMoose user's list when responding to messages. That
allows others to learn from your questions too!

GeoServer will talk to the Database.
GeoMoose talks to GeoServer using the WFS protocol. WFS includes all the
necessary filters to perform searches.
That allows GeoMoose to work with any database or file that GeoServer and
MapServer support.

Here is some sample documentation on how to add a layer with search:
- https://docs.geomoose.org/3.x/howto/add-search.html

And here is an example WFS map-source configuration:
    <map-source name="wfs-polygons" type="wfs" >
        <url>http://localhost/cgi-bin/tinyows.exe</url> <!-- this would
instead point to your geoserver instance -->
        <param name="typename" value="Geomoose:census_cities" />
        <config name="geometry-name" value="wkb_geometry" />
        <config name="namespace-uri" value="
http://localhost/cgi-bin/tinyows.exe" />
        <config name="srs" value="EPSG:4269" />
        <config name="id-property" value="ogc_fid" />
        <properties>
            <property name="geoid"    label="GeoID" />
            <property name="name"     label="Name" />
        </properties>

        <!-- the layer name does not need to match the typename but
             it is a good idea.
        -->
        <layer name="census_cities">
            <style><![CDATA[
            {
                "line-color" : "#998ec3",
                "line-width" : 4,
                "fill-color" : "#998ec3",
                "fill-opacity" : 0.1,
                "text-field": "{name}",
                "text-color": "#000000"
            }
            ]]></style>
        </layer>
     </map-source>

On Tue, Jun 7, 2022 at 10:37 AM <ihara.olivera at imm.gub.uy> wrote:

> Can you explain me how the search works i don't really get it. as far as i
> understand it doesn't make any connection with the database
> sorry to bother you
>
> ------------------------------
> *De: *"Dan Little" <theduckylittle at gmail.com>
> *Para: *"ihara.olivera" <ihara.olivera at imm.gub.uy>
> *CC: *"geomoose-users" <geomoose-users at lists.osgeo.org>
> *Enviados: *Martes, 7 de Junio 2022 12:01:00
> *Asunto: *Re: [GeoMoose-users] Search tool
>
> Yes, it is! Both communicate using WFS. Configure your <map-source> for
> the GeoServer WFS API and it will work.
>
> On Tue, Jun 7, 2022 at 9:24 AM <ihara.olivera at imm.gub.uy> wrote:
>
>> Hi community, i was wondering if it is possible to configure a search
>> using geoserver instead of mapserver.
>> thanks in advance,
>> Belen
>>
>>  ------------------------------
>>
>> El presente correo electrónico y cualquier posible archivo adjunto esta dirigido únicamente al destinatario del mismo y contiene información que puede ser confidencial. Si Ud. no es el destinatario correcto por favor notifique al remitente respondiendo este mensaje y elimine inmediatamente de su sistema, el correo electrónico y los posibles archivos adjuntos al mismo. Esta prohibida cualquier utilización, difusión o copia de este correo electrónico por cualquier persona o entidad que no sean las especificas destinatarias del mensaje. La Intendencia de Montevideo no acepta ninguna responsabilidad con respecto a cualquier comunicación que haya sido emitida incumpliendo nuestra normativa municipal, así como lo previsto en la Ley 18.331 de Protección de Datos Personales y la Ley 18.381 de Acceso a la Información Publica.
>>
>> This e-mail and any attachment is confidential and is intended solely for the addressee(s). If you are not intended recipient please inform the sender immediately, answering this e-mail and delete it as well as the attached files. Any use, circulation or copy of this e-mail by any person or entity that is not the specific addressee(s) is prohibited. The City Council of Montevideo is not responsible for any communication emitted without respecting our Organization Policy or the Data Protection Act and Habeas Data Action No. 18.331 and the Information Access Act N 18.381.
>>
>>
>> _______________________________________________
>> GeoMoose-users mailing list
>> GeoMoose-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geomoose-users
>>
>
>
>  ------------------------------
>
> El presente correo electrónico y cualquier posible archivo adjunto esta dirigido únicamente al destinatario del mismo y contiene información que puede ser confidencial. Si Ud. no es el destinatario correcto por favor notifique al remitente respondiendo este mensaje y elimine inmediatamente de su sistema, el correo electrónico y los posibles archivos adjuntos al mismo. Esta prohibida cualquier utilización, difusión o copia de este correo electrónico por cualquier persona o entidad que no sean las especificas destinatarias del mensaje. La Intendencia de Montevideo no acepta ninguna responsabilidad con respecto a cualquier comunicación que haya sido emitida incumpliendo nuestra normativa municipal, así como lo previsto en la Ley 18.331 de Protección de Datos Personales y la Ley 18.381 de Acceso a la Información Publica.
>
>
> This e-mail and any attachment is confidential and is intended solely for the addressee(s). If you are not intended recipient please inform the sender immediately, answering this e-mail and delete it as well as the attached files. Any use, circulation or copy of this e-mail by any person or entity that is not the specific addressee(s) is prohibited. The City Council of Montevideo is not responsible for any communication emitted without respecting our Organization Policy or the Data Protection Act and Habeas Data Action No. 18.331 and the Information Access Act N 18.381.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20220608/2c4282b5/attachment.htm>


More information about the GeoMoose-users mailing list