[TinyOWS-dev] add new layer

Mohammed Rashad mohammedrashadkm at gmail.com
Thu Oct 28 23:49:29 EST 2010


I had created a new table on tinyows_demo database and also add the layer to
/usr/local/tinyows/config.xml

But when I run
/usr/lib/cgi-bin/tinyows --check it doesnt show the layer

here is my tinyows config.xml

<tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
 schema_dir="/usr/local/tinyows/schema/">

  <pg host="127.0.0.1" user="postgres" password="postgres"
dbname="tinyows_demo" port="5432"/>

  <metadata name="TinyOWS Server"
    title="TinyOWS Server - Demo Service" />

  <contact name="TinyOWS Server"
       site="http://www.tinyows.org/"
      email="tinyows-users at lists.maptools.org" />

  <layer retrievable="1"
 writable="1"
 prefix="tows"
 server="http://www.tinyows.org/"
         name="world"
         title="World Administrative Boundaries" />

  <layer retrievable="1"
 writable="1"
 prefix="tows"
 server="http://www.tinyows.org/"
         name="france"
         title="French Administrative Sub Boundaries (IGN - GeoFLA
Departements)" />

  <layer retrievable="1"
         writable="1"
         prefix="tows"
         server="http://www.tinyows.org/"
         name="frida"
         title="Frida Parks" />

  <layer retrievable="1"
         writable="1"
         prefix="tows"
         server="http://www.tinyows.org/"
         name="new_table"
         title="table Parks" />
</tinyows>

here is my output of tinyows --check

TinyOWS version:   0.9.0
FCGI support:      Yes
Config File Path:  /usr/local/tinyows/config.xml
PostGIS dsn:       host=127.0.0.1 user=postgres password=postgres
dbname=tinyows_demo port=5432
Schema dir:        /usr/local/tinyows/schema/
Available layers:
 - public.world  -> 4326 RW
 - public.france  -> 27582 RW
 - public.frida  -> 31467 RW


When I use phppgadmin and selected the tinyows_demo database
I can see the newly created table new_table

What I am missing?
Anyone please help..



-- 
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-dev/attachments/20101029/c4cdcfcb/attachment.htm 


More information about the TinyOWS-dev mailing list