[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit db9651667dec6fe399bba32d99658eb2c50b9744 Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 14:56:47 2013 +0200 Add man page for msencrypt. diff --git a/debian/changelog b/debian/changelog index 2986af2..25fcf88 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low * Enable hardening build flags. * Add man page for mapserver utilities: - legend +- msencrypt -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/msencrypt.1.xml b/debian/man/msencrypt.1.xml new file mode 100644 index 000..f321f57 --- /dev/null +++ b/debian/man/msencrypt.1.xml @@ -0,0 +1,182 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='msencrypt' + + refmeta +refentrytitlemsencrypt/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnamemsencrypt/refname +refpurposecreate an encryption key or encrypt portions of connection strings for use in mapfiles/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandmsencrypt/command + group +arg choice='plain'-keygen replaceablefile/replaceable/arg +arg choice='plain'-key replaceablefile/replaceable replaceablestring/replaceable/arg + /group +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandmsencrypt/command can create an encryption key or encrypt portions of connection strings for use in mapfiles. + Typically you might want to encrypt portions of the CONNECTION parameter for a database connection. + The following CONNECTIONTYPEs are supported for using this encryption method: + itemizedlist +listitem override='bullet'OGR/listitem +listitem override='bullet'Oracle Spatial/listitem +listitem override='bullet'PostGIS/listitem +listitem override='bullet'SDE/listitem + /itemizedlist +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termoption-keygen/option replaceablefile/replaceable/term +listitem + paraCreates a new encryption key in replaceablefile/replaceable./para +/listitem + /varlistentry + + varlistentry +termoption-key/option replaceablefile/replaceable replaceablestring/replaceable/term +listitem + paraUse the key in replaceablefile/replaceable to encrypt replaceablestring/replaceable./para +/listitem + /varlistentry + +/variablelist + + /refsect1 + + refsect1 id='notes' +titleNOTES/title + +formalpara + titleUse in Mapfile/title +/formalpara + +informalexample + para +The location of the encryption key can be specified by two mechanisms, +either by setting the environment variable MS_ENCRYPTION_KEY or using a +CONFIG directive in the MAP object of your mapfile. For example: + /para + programlisting +CONFIG MS_ENCRYPTION_KEY /path/to/mykey.txt + /programlisting +/informalexample + +informalexample + para +Use the { and } characters as delimiters for encrypted strings inside +database CONNECTIONs in your mapfile. For example: + /para + programlisting +CONNECTIONTYPE ORACLESPATIAL +CONNECTION user/{MIIBugIBAAKBgQCP0Yj+Seh8==}@service + /programlisting +/informalexample + /refsect1 + + refsect1 id='example' +titleEXAMPLE/title + +para + programlisting +LAYER + NAME provinces + TYPE POLYGON + CONNECTIONTYPE POSTGIS + CONNECTION host=127.0.0.1 dbname=gmap user=postgres password=iluvyou18 port=5432 + DATA the_geom FROM province using SRID=42304 + STATUS DEFAULT + CLASS +NAME Countries +COLOR 255 0 0 + END +END + /programlisting +/para + +para + Here are the steps to encrypt the password in the above connection: + orderedlist + +listitem + para +Generate an encryption key (note that this key should not be +stored anywhere within your web server's accessible directories): + /para +/listitem +screen +msencrypt -keygen /home/user/mykey.txt +/screen + +para + And this generated key file might contain something like: +/para +programlisting +2137FEFDB5611448738D9FBB1DC59055 +/programlisting + +listitem + para +Encrypt the connection's password using that generated key: + /para +/listitem +screen +msencrypt -key /home/user/mykey.txt
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit d46de5f0b90ecca1de6bf063ba31ce8bf65de8de Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 17:52:33 2013 +0200 Add man page for shptree. diff --git a/debian/changelog b/debian/changelog index df3b59f..71c9f9a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - msencrypt - scalebar - shp2img +- shptree -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/shptree.1.xml b/debian/man/shptree.1.xml new file mode 100644 index 000..01cea6b --- /dev/null +++ b/debian/man/shptree.1.xml @@ -0,0 +1,198 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='shptree' + + refmeta +refentrytitleshptree/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnameshptree/refname +refpurposecreate a quadtree-based spatial index for a Shape data set/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandshptree/command + group +arg choice='plain' + replaceableshpfile/replaceable + arg choice='opt'replaceabledepth/replaceable/arg + arg choice='opt'replaceableindex_format/replaceable/arg +/arg +arg choice='opt'-v/arg + /group +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandshptree/command creates a quadtree-based spatial index for a + Shape data set. The default tree depth is calculated so that each tree + node (quadtree cell) contains 8 shapes. Do not use the default with point + files, a value between 6 and 10 seems to work ok. Your millage may vary + and you'll need to do some experimenting. +/para + +para + This utility is a must for any MapServer application that uses Shape data + sets. commandshptree/command creates a spatial index of your Shape + data set, using a quadtree method. This means that MapServer will use this + index to quickly find the appropriate shapes to draw. It creates a file of + the same name as your Shape data set, with a .qix file extension. The + quadtree method breaks the file into 4 quadrants, recursively until only a + few shapes are contained in each quadrant. This minimum number can be set + with the replaceabledepth/replaceable parameter of the command. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceableshpfile/replaceable/term +listitem + paraThe name of the .shp file to index./para +/listitem + /varlistentry + + varlistentry +termreplaceabledepth/replaceable/term +listitem + para +(Optional) The maximum depth of the index to create, default is +0 meaning that commandshptree/command will calculate a +reasonable default depth. + /para +/listitem + /varlistentry + + varlistentry +termreplaceableindex_format/replaceable/term +listitem + para +(Optional) One of: +variablelist + + varlistentry +termoptionNL/option/term +listitem + paraLSB byte order, using new index format/para +/listitem + /varlistentry + + varlistentry +termoptionNM/option/term +listitem + paraMSB byte order, using new index format/para +/listitem + /varlistentry +/variablelist + +The following old format options are deprecated: +variablelist + + varlistentry +termoptionN/option/term +listitem + paraNative byte order/para +/listitem + /varlistentry + + varlistentry +termoptionL/option/term +listitem + paraLSB (intel) byte order/para +/listitem + /varlistentry + + varlistentry +termoptionM/option/term +listitem + paraMSB byte order/para +/listitem + /varlistentry + +/variablelist + +The default replaceableindex_format/replaceable on this system is: optionNL/option + /para +/listitem + /varlistentry + + varlistentry +term-v/term +listitem + paraDisplay mapserver version and build options./para +/listitem + /varlistentry + +/variablelist + + /refsect1 + + refsect1 id='notes' +titleNOTES/title + +para +
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit c35ad6d5fac070989025e0eccfceee23a75b7a18 Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 16:33:04 2013 +0200 Add man page for scalebar. diff --git a/debian/changelog b/debian/changelog index fd9d466..df3b59f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,6 +22,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low * Add man page for mapserver utilities: - legend - msencrypt +- scalebar - shp2img -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/legend.1.xml b/debian/man/legend.1.xml index d108e87..39bf6f3 100644 --- a/debian/man/legend.1.xml +++ b/debian/man/legend.1.xml @@ -50,4 +50,13 @@ /refsect1 + refsect1 id='see-also' +titleSEE ALSO/title + +citerefentry + refentrytitlescalebar/refentrytitle + manvolnum1/manvolnum +/citerefentry + /refsect1 + /refentry diff --git a/debian/man/scalebar.1.xml b/debian/man/scalebar.1.xml new file mode 100644 index 000..b729f0e --- /dev/null +++ b/debian/man/scalebar.1.xml @@ -0,0 +1,64 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='scalebar' + + refmeta +refentrytitlescalebar/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnamescalebar/refname +refpurposecreate a scalebar from a mapfile/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandscalebar/command + group +arg choice='plain'replaceablemapfile/replaceable replaceableoutputimage/replaceable/arg +arg choice='opt'-v/arg + /group +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandscalebar/command creates a scalebar from a mapfile. Output is + either PNG or GIF depending on what version of the GD library used. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceablemapfile/replaceable replaceableoutputimage/replaceable/term +listitem + paraCreates a scalebar from a mapfile./para +/listitem + /varlistentry + + varlistentry +term-v/term +listitem + paraDisplay mapserver version and build options./para +/listitem + /varlistentry + +/variablelist + + /refsect1 + + refsect1 id='see-also' +titleSEE ALSO/title + +citerefentry + refentrytitlelegend/refentrytitle + manvolnum1/manvolnum +/citerefentry + /refsect1 + +/refentry diff --git a/debian/mapserver-bin.manpages b/debian/mapserver-bin.manpages index c0cf94d..5991fb9 100644 --- a/debian/mapserver-bin.manpages +++ b/debian/mapserver-bin.manpages @@ -1,3 +1,4 @@ debian/man/legend.1 debian/man/msencrypt.1 +debian/man/scalebar.1 debian/man/shp2img.1 -- Mapserver ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit 4a22a26edfb76ae6c8f6ff24580abe2a1e3833bd Author: Bas Couwenberg sebas...@xs4all.nl Date: Thu Jul 4 21:42:38 2013 +0200 Add man page for legend. diff --git a/debian/changelog b/debian/changelog index 19dee84..2986af2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -19,6 +19,8 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low * Drop debian-changes-6.2.1-1 from patch series. * Update libgd build dependency to libgd-dev for the libgd2 transition. * Enable hardening build flags. + * Add man page for mapserver utilities: +- legend -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/control b/debian/control index f6044b3..196755e 100644 --- a/debian/control +++ b/debian/control @@ -9,8 +9,9 @@ Build-Depends: debhelper (= 9), dpkg-dev (= 1.16.1.1), libcurl4-gnutls-dev, li libpq-dev, php5-dev, swig, python-all (= 2.6.6-3~), python-all-dev (= 2.6.6-3~), libgeos-dev (= 3.3.1-1~), ruby1.8, ruby1.8-dev, ruby1.9.1, ruby1.9.1-dev, sharutils, libsdl1.2-dev, libfreetype6-dev, chrpath, - libfcgi-dev, libxml2-dev, libogdi3.2-dev, libxslt1-dev, libpam0g-dev, libreadline-dev, - libfribidi-dev, libedit-dev, libepsilon-dev, libcairo2-dev + libfcgi-dev, libxml2-dev, libogdi3.2-dev, libxslt1-dev, libpam0g-dev, libreadline-dev, + libfribidi-dev, libedit-dev, libepsilon-dev, libcairo2-dev, + docbook2x, docbook-xsl, docbook-xml, xsltproc Build-Conflicts: libcurl3-openssl-dev Homepage: http://www.mapserver.org Vcs-Browser: http://git.debian.org/?p=pkg-grass/mapserver.git diff --git a/debian/man/legend.1.xml b/debian/man/legend.1.xml new file mode 100644 index 000..d108e87 --- /dev/null +++ b/debian/man/legend.1.xml @@ -0,0 +1,53 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='legend' + + refmeta +refentrytitlelegend/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnamelegend/refname +refpurposegenerate legend image for mapfile/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandlegend/command + arg choice='plain'replaceablemapfile/replaceable/arg + arg choice='plain'replaceableoutputfile/replaceable/arg +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandlegend/command creates a legend image from a mapfile. + Output format depends on the graphics library used for rendering. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceablemapfile/replaceable/term +listitem + paraPath to the mapfile./para +/listitem + /varlistentry + + varlistentry +termreplaceableoutputfile/replaceable/term +listitem + paraPath for the output image file./para +/listitem + /varlistentry + +/variablelist + + /refsect1 + +/refentry diff --git a/debian/mapserver-bin.manpages b/debian/mapserver-bin.manpages new file mode 100644 index 000..730bce3 --- /dev/null +++ b/debian/mapserver-bin.manpages @@ -0,0 +1 @@ +debian/man/legend.1 diff --git a/debian/rules b/debian/rules index ca7ae00..a501885 100755 --- a/debian/rules +++ b/debian/rules @@ -26,6 +26,7 @@ CURDIR := $(shell pwd) PYVERS=$(shell pyversions -r debian/control) RUBYVERS=1.8 1.9.1 PHP5API=$(shell php-config5 --phpapi) +MANPAGES:=$(wildcard debian/man/*.*.xml) # Configure config : # Not using non free libpdf @@ -82,6 +83,12 @@ build-arch: build-arch-stamp build-arch-stamp: configure-stamp dh_testdir + # Create man pages from DocBook XML + for x in $(MANPAGES) ; do \ + docbook2x-man $$x ; \ + mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \ + done + # Build binary lib $(MAKE) mapscriptvars || touch mapscriptvars $(MAKE) @@ -212,6 +219,7 @@ binary-indep: install-indep dh_installdocs -i dh_installexamples -i dh_installdebconf -i + dh_installman dh_compress -i -X.xml -X.xsd -X.xsl dh_link -i dh_lintian -i @@ -230,6 +238,7 @@ binary-arch: install-arch dh_installexamples -a chmod a-x debian/php*-mapscript/usr/share/doc/php*-mapscript/examples/*.phtml dh_installdebconf -a + dh_installman dh_python2 -ppython-mapscript dh_compress -a dh_link -a -- Mapserver ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit 0b25b4651ec80601e3ddec28549971a5c6856c5e Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 19:29:46 2013 +0200 Add man page for shptreetst. diff --git a/debian/changelog b/debian/changelog index a2bbba5..cfe8431 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - scalebar - shp2img - shptree +- shptreetst - shptreevis -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/shptree.1.xml b/debian/man/shptree.1.xml index 081..4556443 100644 --- a/debian/man/shptree.1.xml +++ b/debian/man/shptree.1.xml @@ -187,6 +187,11 @@ shptree us_states.shp titleSEE ALSO/title citerefentry + refentrytitleshptreetst/refentrytitle + manvolnum1/manvolnum +/citerefentry, + +citerefentry refentrytitleshptreevis/refentrytitle manvolnum1/manvolnum /citerefentry diff --git a/debian/man/shptreetst.1.xml b/debian/man/shptreetst.1.xml new file mode 100644 index 000..2a9988b --- /dev/null +++ b/debian/man/shptreetst.1.xml @@ -0,0 +1,128 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='shptreetst' + + refmeta +refentrytitleshptreetst/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnameshptreetst/refname +refpurposeexecute a spatial query on an existing spatial index/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandshptreetst/command + arg choice='plain'replaceableshapefile/replaceable/arg + arg choice='opt'replaceableminx/replaceable replaceableminy/replaceable replaceablemaxx/replaceable replaceablemaxy/replaceable/arg +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandshptreetst/command executes a spatial query on an existing + spatial index (.qix), that was created by the + citerefentry +refentrytitleshptree/refentrytitle +manvolnum1/manvolnum + /citerefentry + utility. This utility is useful to understand how a search of a Shape data + set and its emphasisqix/emphasis index works. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceableshapefile/replaceable/term +listitem + paraThe name of the .shp file index./para +/listitem + /varlistentry + + varlistentry +termreplaceableminx/replaceable replaceableminy/replaceable replaceablemaxx/replaceable replaceablemaxy/replaceable/term +listitem + paraExtents to render/para +/listitem + /varlistentry + +/variablelist + /refsect1 + + refsect1 id='example' +titleEXAMPLE/title + +informalexample + screen +shptreetst esp 879827.480246 4317203.699447 884286.289767 4321662.508967 + + This new LSB index supports a shapefile with 48 shapes, 4 depth + shapes 6, node 4, -13702.315770,3973784.599548,1127752.921471,4859616.714055 + shapes 5, node 3, -13702.315770,3973784.599548,614098.064712,4460992.262527 + shapes 1, node 1, -13702.315770,3973784.599548,331587.893495,4241748.814186 + shapes 1, node 0, 141678.278400,3973784.599548,331587.893495,4121164.917599 + shapes 1, node 0, 268807.855447,4193028.047889,614098.064712,4460992.262527 + shapes 1, node 0, 268807.855447,3973784.599548,614098.064712,4241748.814186 + shapes 7, node 4, -13702.315770,4372409.051076,614098.064712,4859616.714055 + shapes 1, node 0, -13702.315770,4372409.051076,331587.893495,4640373.265714 + shapes 3, node 1, -13702.315770,4591652.499417,331587.893495,4859616.714055 + shapes 1, node 0, -13702.315770,4712236.396004,176207.299326,4859616.714055 + shapes 2, node 0, 268807.855447,4372409.051076,614098.064712,4640373.265714 + shapes 3, node 2, 268807.855447,4591652.499417,614098.064712,4859616.714055 + shapes 2, node 0, 424188.449617,4712236.396004,614098.064712,4859616.714055 + shapes 1, node 0, 424188.449617,4591652.499417,614098.064712,4739032.817468 + shapes 2, node 1, 499952.540988,3973784.599548,1127752.921471,4460992.262527 + shapes 2, node 0, 499952.540988,4193028.047889,845242.750254,4460992.262527 + shapes 5, node 3, 499952.540988,4372409.051076,1127752.921471,4859616.714055 + shapes 1, node 1, 499952.540988,4372409.051076,845242.750254,4640373.265714 + shapes 1, node 0, 655333.135158,4372409.051076,845242.750254,4519789.369127 + shapes 1, node 0, 499952.540988,4591652.499417,845242.750254,4859616.714055 + read entire file now at quad box rec 20 file pos 1084 + result of rectangle search was + 8, 10, 36, 37, 38, 39, 42, 46, + /screen + + Result: + blockquote +para + The above output from the shptreetst command
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit cbd28a505247ba2c6fc3439ac6545670877f81d9 Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 19:07:40 2013 +0200 Add man page for shptreevis. diff --git a/debian/changelog b/debian/changelog index 71c9f9a..a2bbba5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - scalebar - shp2img - shptree +- shptreevis -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/shptree.1.xml b/debian/man/shptree.1.xml index 01cea6b..081 100644 --- a/debian/man/shptree.1.xml +++ b/debian/man/shptree.1.xml @@ -186,6 +186,11 @@ shptree us_states.shp refsect1 id='see-also' titleSEE ALSO/title +citerefentry + refentrytitleshptreevis/refentrytitle + manvolnum1/manvolnum +/citerefentry + para The ulink url=https://github.com/mapserver/mapserver/wiki/ShpTree; diff --git a/debian/man/shptreevis.1.xml b/debian/man/shptreevis.1.xml new file mode 100644 index 000..116de7d --- /dev/null +++ b/debian/man/shptreevis.1.xml @@ -0,0 +1,84 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='shptreevis' + + refmeta +refentrytitleshptreevis/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnameshptreevis/refname +refpurposeview the quadtree quadrants of a .qix file/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandshptreevis/command + arg choice='plain'replaceableshapefile/replaceable/arg + arg choice='plain'replaceablenew_shapefile/replaceable/arg +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandshptreevis/command can be used to view the quadtree quadrants + that are part of a .qix file (that was created with the shptree utility). +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceableshapefile/replaceable/term +listitem + paraThe name of the .shp file index./para +/listitem + /varlistentry + + varlistentry +termreplaceablenew_shapefile/replaceable/term +listitem + paraThe name of the .shp file to create./para +/listitem + /varlistentry + +/variablelist + /refsect1 + + refsect1 id='example' +titleEXAMPLE/title + +informalexample + screen +shptreevis us_states.shp quad.shp +This new LSB index supports a shapefile with 2895 shapes, 10 depth + /screen + + Result: + blockquote +A Shape data set named 'quad.shp' is created. You can now view this +Shape data set in a desktop GIS (such as QGIS for example) to see the +quadtrees that were created with the shptree command. + /blockquote +/informalexample + +figure + titleshptreevis result displayed in QGIS/title + ulink url=http://mapserver.org/_images/shptreevis-example.png;/ulink +/figure + /refsect1 + + refsect1 id='see-also' +titleSEE ALSO/title + +citerefentry + refentrytitleshptree/refentrytitle + manvolnum1/manvolnum +/citerefentry + /refsect1 + +/refentry diff --git a/debian/mapserver-bin.manpages b/debian/mapserver-bin.manpages index 514a708..9dfe116 100644 --- a/debian/mapserver-bin.manpages +++ b/debian/mapserver-bin.manpages @@ -3,3 +3,4 @@ debian/man/msencrypt.1 debian/man/scalebar.1 debian/man/shp2img.1 debian/man/shptree.1 +debian/man/shptreevis.1 -- Mapserver ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit 783b36461309549f0b6c7ed477755f7c01d185d4 Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 16:13:38 2013 +0200 Add man page for shp2img. diff --git a/debian/changelog b/debian/changelog index 25fcf88..fd9d466 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,6 +22,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low * Add man page for mapserver utilities: - legend - msencrypt +- shp2img -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/shp2img.1.xml b/debian/man/shp2img.1.xml new file mode 100644 index 000..c553339 --- /dev/null +++ b/debian/man/shp2img.1.xml @@ -0,0 +1,218 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='shp2img' + + refmeta +refentrytitleshp2img/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnameshp2img/refname +refpurposecreate a map image from a mapfile/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandshp2img/command + arg choice='plain'-m replaceablemapfile/replaceable/arg + arg choice='opt'-o replaceableimage/replaceable/arg + arg choice='opt'-e replaceableminx/replaceable replaceableminy/replaceable replaceablemaxx/replaceable replaceablemaxy/replaceable/arg + arg choice='opt'-s replaceablesizex/replaceable replaceablesizey/replaceable/arg + arg choice='opt'-l replaceablelayer1/replaceable arg choice='opt'replaceablelayer2/replaceable.../arg/arg + arg choice='opt'-i replaceableformat/replaceable/arg + arg choice='opt'-all_debug replaceablen/replaceable/arg + arg choice='opt'-map_debug replaceablen/replaceable/arg + arg choice='opt'-layer_debug replaceablelayername/replaceable replaceablen/replaceable/arg + arg choice='opt'-p replaceablen/replaceable/arg + arg choice='opt'-c replaceablen/replaceable/arg + arg choice='opt'-d replaceablelayername/replaceable replaceabledatavalue/replaceable/arg +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandshp2img/command creates a map image from a mapfile. + Output is either PNG or GIF depending on what version of the GD library is + used. This is a useful utility to test your mapfile. You can simply + provide the path to your mapfile and the name of an output image, and an + image should be returned. If an image cannot be created an error will be + displayed at the command line that should refer to a line number in the mapfile. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termoption-m/option replaceablemapfile/replaceable/term +listitem + paraMap file to operate on - required/para +/listitem + /varlistentry + + varlistentry +termoption-i/option replaceableformat/replaceable/term +listitem + paraOverride the IMAGETYPE value to pick output format/para +/listitem + /varlistentry + + varlistentry +termoption-o/option replaceableimage/replaceable/term +listitem + paraOutput filename (STDOUT if not provided)/para +/listitem + /varlistentry + + varlistentry +termoption-e/option replaceableminx/replaceable replaceableminy/replaceable replaceablemaxx/replaceable replaceablemaxy/replaceable/term +listitem + paraExtents to render/para +/listitem + /varlistentry + + varlistentry +termoption-s/option replaceablesizex/replaceable replaceablesizey/replaceable/term +listitem + paraOutput image size/para +/listitem + /varlistentry + + varlistentry +termoption-l/option replaceablelayers/replaceable/term +listitem + paraLayers to enable - make sure they are quoted and space separated if more than one listed/para +/listitem + /varlistentry + + varlistentry +termoption-all_debug/option replaceablen/replaceable/term +listitem + paraSet debug level for map and all layers/para +/listitem + /varlistentry + + varlistentry +termoption-map_debug/option replaceablen/replaceable/term +listitem + paraSet map debug level/para +/listitem + /varlistentry + + varlistentry +termoption-layer_debug/option replaceablelayername/replaceable replaceablen/replaceable/term +listitem + paraSet layer debug level/para +/listitem + /varlistentry + + varlistentry +termoption-c/option replaceablen/replaceable/term +listitem + paraDraw map replaceablen/replaceable number of times/para +/listitem +
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit 22d57a660117dd84af88a3484171fa4089b1a94a Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 20:38:25 2013 +0200 Add man page for sortshp. diff --git a/debian/changelog b/debian/changelog index cfe8431..3a375a0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - shptree - shptreetst - shptreevis +- sortshp -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/shptree.1.xml b/debian/man/shptree.1.xml index 4556443..a1ab446 100644 --- a/debian/man/shptree.1.xml +++ b/debian/man/shptree.1.xml @@ -194,6 +194,11 @@ shptree us_states.shp citerefentry refentrytitleshptreevis/refentrytitle manvolnum1/manvolnum +/citerefentry, + +citerefentry + refentrytitlesortshp/refentrytitle + manvolnum1/manvolnum /citerefentry para diff --git a/debian/man/shptreetst.1.xml b/debian/man/shptreetst.1.xml index 2a9988b..6cc0ed4 100644 --- a/debian/man/shptreetst.1.xml +++ b/debian/man/shptreetst.1.xml @@ -122,6 +122,11 @@ shptreetst esp 879827.480246 4317203.699447 884286.289767 4321662.508967 citerefentry refentrytitleshptreevis/refentrytitle manvolnum1/manvolnum +/citerefentry, + +citerefentry + refentrytitlesortshp/refentrytitle + manvolnum1/manvolnum /citerefentry /refsect1 diff --git a/debian/man/shptreevis.1.xml b/debian/man/shptreevis.1.xml index 0ea961e..0f7ca9b 100644 --- a/debian/man/shptreevis.1.xml +++ b/debian/man/shptreevis.1.xml @@ -83,6 +83,11 @@ This new LSB index supports a shapefile with 2895 shapes, 10 depth citerefentry refentrytitleshptreetst/refentrytitle manvolnum1/manvolnum +/citerefentry, + +citerefentry + refentrytitlesortshp/refentrytitle + manvolnum1/manvolnum /citerefentry /refsect1 diff --git a/debian/man/sortshp.1.xml b/debian/man/sortshp.1.xml new file mode 100644 index 000..23ed129 --- /dev/null +++ b/debian/man/sortshp.1.xml @@ -0,0 +1,140 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='sortshp' + + refmeta +refentrytitlesortshp/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnamesortshp/refname +refpurposesort a Shape data set/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandsortshp/command + group +arg choice='plain' + replaceableinfile/replaceable + arg choice='plain'replaceableoutfile/replaceable/arg + arg choice='plain'replaceableitem/replaceable/arg + group +arg choice='plain'replaceableascending/replaceable/arg +arg choice='plain'replaceabledescending/replaceable/arg + /group + arg choice='plain'replaceable/replaceable/arg +/arg +arg choice='opt'-v/arg + /group +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandsortshp/command displays an example. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceableinfile/replaceable/term +listitem + paraThe name of the .shp file/para +/listitem + /varlistentry + + varlistentry +termreplaceableoutfile/replaceable/term +listitem + paraThe name of the .shp/.shx and .dbf files to create/para +/listitem + /varlistentry + + varlistentry +termreplaceableitem/replaceable/term +listitem + paraName of the field to sort on/para +/listitem + /varlistentry + + varlistentry +termreplaceableascending/replaceable/term +termreplaceabledescending/replaceable/term +listitem + paraSort order (default: ascending)/para +/listitem + /varlistentry + + varlistentry +term-v/term +listitem + paraDisplay mapserver version and build options./para +/listitem + /varlistentry + +/variablelist + /refsect1 + + refsect1 id='example' +titleEXAMPLE/title + +informalexample + para +This example uses a roads file ('roads_ugl') that has a field with road +classes in integer format ('class1'). + /para + + screen + sortshp roads_ugl roads-sort class1 ascending + /screen + + Result: + blockquote +A new Shape data set named 'roads-sort.shp' is created with shapes +sorted in ascending order, according to the values in the 'class1' +field. + /blockquote + + figure id='before' +titleFigure 1: Attributes Before sortshp/title +ulink
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit 2ab4c4c6789b2cec0a95e12d10b3c7b9bb7119f2 Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 21:31:02 2013 +0200 Add man page for tile4ms. diff --git a/debian/changelog b/debian/changelog index 3a375a0..5b003cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - shptreetst - shptreevis - sortshp +- tile4ms -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/tile4ms.1.xml b/debian/man/tile4ms.1.xml new file mode 100644 index 000..2a71d2c --- /dev/null +++ b/debian/man/tile4ms.1.xml @@ -0,0 +1,287 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='tile4ms' + + refmeta +refentrytitletile4ms/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnametile4ms/refname +refpurposecreate a tile index Shape data set for use with MapServer's TILEINDEX feature/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandtile4ms/command + group +arg choice='plain' + replaceablemetafile/replaceable + arg choice='plain'replaceabletilefile/replaceable/arg + arg choice='opt'-tile-path-only/arg +/arg +arg choice='plain'-h/arg + /group +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandtile4ms/command creates a tile index Shape data set for use + with MapServer's TILEINDEX feature. The program creates a Shape data set + of rectangles from extents of all the Shape data sets listed in + replaceablemetafile/replaceable (one Shape data set name per line) + and the associated DBF with the filename for each shape tile in a column + called LOCATION as required by mapserv. +/para + +para + emphasisNote:/emphasis + Similar functionality can be found in the GDAL commandline utilities + ulink url=http://www.gdal.org/ogrtindex.html;ogrtindex/ulink (for + vectors) and + ulink url=http://www.gdal.org/gdaltindex.html;gdaltindex/ulink (for + rasters). +/para + +para + commandtile4ms/command creates a Shape data set containing the MBR + (minimum bounding rectangle) of all shapes in the files provided, which + can then be used in the LAYER object's TILEINDEX parameter of the mapfile. + The new filed created with this command is used by MapServer to only load + the files assocated with that extent (or tile). +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termreplaceablemetafile/replaceable/term +listitem + para +INPUT file containing list of shapefile names. +(complete paths 255 chars max, no extension) + /para +/listitem + /varlistentry + + varlistentry +termreplaceabletilefile/replaceable/term +listitem + para +OUTPUT shape file of extent rectangles and names of tiles in +replaceabletilefile/replaceable.dbf + /para +/listitem + /varlistentry + + varlistentry +termoption-tile-path-only/option/term +listitem + para +Optional flag. If specified then only the path to the shape files +will be stored in the LOCATION field instead of storing the full +filename. + /para +/listitem + /varlistentry + + varlistentry +termoption-h/option/term +listitem + paraDisplay usage information/para +/listitem + /varlistentry + +/variablelist + /refsect1 + + refsect1 id='example' +titleEXAMPLE/title + +example + titleShort Example/title + + para +Create tileindex.shp for all tiles under the /path/to/data directory: + /para + screen + cd /path/to/data + find . -name /*.shp -print metafile.txt + tile4ms metafile.txt tileindex + /screen +/example + +example + titleLong Example/title + + para +This example uses TIGER Census data, where the data contains files +divided up by county (in fact there are over 3200 counties, a very large +dataset indeed). In this example we will show how to display all lakes +for the state of Minnesota. (note that here we have already converted +the TIGER data into Shape format, but you could keep the data in TIGER +format and use the ogrtindex utility instead) The TIGER Census data for +Minnesota is made up of 87 different counties, each containing its own +lakes file ('wp.shp'). + /para + + orderedlist + +listitem +
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit a226f0def20d0b316794051b30c85623bb9e1e1e Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 22:59:17 2013 +0200 Add man page for mapserver-config. diff --git a/debian/changelog b/debian/changelog index 058903a..e72ed77 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - sortshp - tile4ms - mapserv +- mapserver-config -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/libmapserver-dev.manpages b/debian/libmapserver-dev.manpages new file mode 100644 index 000..4951557 --- /dev/null +++ b/debian/libmapserver-dev.manpages @@ -0,0 +1 @@ +debian/man/mapserver-config.1 diff --git a/debian/man/mapserver-config.1.xml b/debian/man/mapserver-config.1.xml new file mode 100644 index 000..a75a8f4 --- /dev/null +++ b/debian/man/mapserver-config.1.xml @@ -0,0 +1,86 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='mapserver-config' + + refmeta +refentrytitlemapserver-config/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnamemapserver-config/refname +refpurposequery mapserver build options/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandmapserver-config/command + arg choice='opt'--libs/arg + arg choice='opt'--dep-libs/arg + arg choice='opt'--cflags/arg + arg choice='opt'--defines/arg + arg choice='opt'--includes/arg + arg choice='opt'--version/arg +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandmapserver-config/command allows querying the options used to + build the MapServer binaries. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termoption--libs/option/term +listitem + para +Libraries (SUP_LIBS) + /para +/listitem + /varlistentry + + varlistentry +termoption--dep-libs/option/term +listitem + paraLibraries (LIBS)/para +/listitem + /varlistentry + + varlistentry +termoption--cflags/option/term +listitem + paraCompiler flags (CFLAGS)/para +/listitem + /varlistentry + + varlistentry +termoption--defines/option/term +listitem + paraCompiler defines (DEFINES/ALL_ENABLED)/para +/listitem + /varlistentry + + varlistentry +termoption--includes/option/term +listitem + paraCompiler includes (INCLUDES)/para +/listitem + /varlistentry + + varlistentry +termoption--version/option/term +listitem + paraMapServer version (MS_VERSION)/para +/listitem + /varlistentry + +/variablelist + /refsect1 + +/refentry -- Mapserver ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
[SCM] mapserver branch, master, updated. upstream/6.2.1-72-ga226f0d
The following commit has been merged in the master branch: commit 5c30137ef5f31918e52820c434e7d1c3c57221a7 Author: Bas Couwenberg sebas...@xs4all.nl Date: Fri Jul 5 22:36:12 2013 +0200 Add man page for mapserv. diff --git a/debian/changelog b/debian/changelog index 5b003cb..058903a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low - shptreevis - sortshp - tile4ms +- mapserv -- Bas Couwenberg sebas...@xs4all.nl Fri, 14 Jun 2013 22:00:07 +0200 diff --git a/debian/man/mapserv.1.xml b/debian/man/mapserv.1.xml new file mode 100644 index 000..e51c575 --- /dev/null +++ b/debian/man/mapserv.1.xml @@ -0,0 +1,111 @@ +?xml version=1.0 encoding=UTF-8? +!DOCTYPE refentry PUBLIC -//OASIS//DTD DocBook XML V4.4//EN http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; +refentry id='mapserv' + + refmeta +refentrytitlemapserv/refentrytitle +manvolnum1/manvolnum + /refmeta + + refnamediv +refnamemapserv/refname +refpurposemapserver CGI interface/refpurpose + /refnamediv + + refsynopsisdiv id='synopsis' +cmdsynopsis + commandmapserv/command + group +arg choice='plain'option-v/option/arg +arg choice='plain' + arg choice='opt'option-nh/option/arg + QUERY_STRING=replaceableQUERY_STRING/replaceable +/arg + /group +/cmdsynopsis + /refsynopsisdiv + + refsect1 id='description' +titleDESCRIPTION/title +para + commandmapserv/command provides commandline access to the MapServer + CGI interface. +/para + /refsect1 + + refsect1 id='options' +titleOPTIONS/title +variablelist + + varlistentry +termoption-v/option/term +listitem + paraDisplay mapserver version and build options./para +/listitem + /varlistentry + + varlistentry +termoption-nh/option/term +listitem + paraSuppress HTTP headers./para +/listitem + /varlistentry + + varlistentry + termoptionQUERY_STRING/option=replaceableQUERY_STRING/replaceable/term +listitem + para +CGI QUERY_STRING parameter, e.g. + QUERY_STRING=MAP=/home/user/wfs.mapamp;SERVICE=WFSamp;REQUEST=GetCapabilities + /para +/listitem + /varlistentry + +/variablelist + /refsect1 + + refsect1 id='example' +titleEXAMPLE/title + +informalexample + para +The CGI interface can be tested at the commandline by using the QUERY_STRING switch, such as: + /para + + screen + mapserv QUERY_STRING=map=/home/user/wms.mapamp;mode=map + /screen +/informalexample + +informalexample + para +To suppress the HTTP headers, you can use the -nh switch, such as: + /para + + screen + mapserv -nh QUERY_STRING=map=/home/user/wms.mapamp;mode=map + /screen +/informalexample + +informalexample + para +To save the output into an image file, use the pipe command such as: + /para + + screen + mapserv -nh QUERY_STRING=map=/home/user/wms.mapamp;mode=map test.png + /screen +/informalexample + /refsect1 + + refsect1 id='see-also' +titleSEE ALSO/title + +para + ulink url=http://mapserver.org/cgi/index.html; +citetitleMapServer CGI Documentation/citetitle + /ulink +/para + /refsect1 + +/refentry diff --git a/debian/mapserver-bin.manpages b/debian/mapserver-bin.manpages index 032bf90..552e8bd 100644 --- a/debian/mapserver-bin.manpages +++ b/debian/mapserver-bin.manpages @@ -1,4 +1,5 @@ debian/man/legend.1 +debian/man/mapserv.1 debian/man/msencrypt.1 debian/man/scalebar.1 debian/man/shp2img.1 -- Mapserver ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel