{"id":451,"date":"2016-09-16T14:41:35","date_gmt":"2016-09-16T14:41:35","guid":{"rendered":"http:\/\/myprojects.advchaweb.com\/?p=451"},"modified":"2017-02-14T05:15:29","modified_gmt":"2017-02-14T05:15:29","slug":"install-mapserver-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2016\/09\/16\/install-mapserver-on-ubuntu-14-04\/","title":{"rendered":"Install MapServer On Ubuntu 14.04"},"content":{"rendered":"<p>Prerequisite: Ubuntu 14.04, Apache Webserver 2.4 and php 5.6<!--more--><\/p>\n<p>Install PostgreSQL. Read <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-use-postgresql-on-ubuntu-14-04\" target=\"_blank\">How To Install and Use PostgreSQL on Ubuntu 14.04<\/a>:<\/p>\n<ol>\n<li>Update system\n<pre class=\"lang:default decode:true \">sudo apt-get update<\/pre>\n<\/li>\n<li>Install Postgres package and a &#8220;contrib&#8221; package that adds some additional utilities and functionality\n<pre class=\"lang:default decode:true \">sudo apt-get install postgresql postgresql-contrib<\/pre>\n<\/li>\n<li>PostgreSQL Roles and Databases<br \/>\ncreated a user account called &#8216;postgres&#8217;<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo -i -u postgres<\/pre>\n<p>get a Postgres prompt immediately by typing<\/p>\n<pre class=\"lang:default decode:true \">postgres@teddy-K43SJ:~$ psql\r\npsql (9.3.14)\r\nType \"help\" for help.\r\n\r\npostgres=# \\q<\/pre>\n<p>Type &#8216;\\q&#8217; to quit! I can see my postgresql version is 9.3.14. Watch the above carefully! <span style=\"background-color: #ff6600;\">MY USER ALSO BE CHANGED FROM<\/span> &#8216;teddy@teddy-K43SJ&#8217; to &#8216;postgres@teddy-K43SJ&#8217;! To quit completely, type &#8216;exit&#8217;<\/p>\n<pre class=\"lang:default decode:true \">postgres@teddy-K43SJ:~$ exit\r\nlogout\r\nteddy@teddy-K43SJ:~$<\/pre>\n<p>HERE WE DON&#8217;T THE PASSWORD FOR &#8216;postgres&#8217; ROLE, SO ALTER IT (Read &#8216;<a href=\"http:\/\/stackoverflow.com\/questions\/24917832\/how-connect-postgres-to-localhost-server-using-pgadmin-on-ubuntu\" target=\"_blank\">How connect Postgres to localhost server using pgAdmin on Ubuntu?<\/a>&#8216;)<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo -u postgres psql postgres\r\npsql (9.3.14)\r\nType \"help\" for help.\r\n\r\npostgres=# alter user postgres with password 'postgres';\r\nALTER ROLE\r\npostgres=# \\q<\/pre>\n<p>SO (without quote) user = &#8216;postgres&#8217; and password = &#8216;postgres&#8217;<\/p>\n<p>Install pgadmin 3<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~$ sudo apt-get install pgadmin3<\/pre>\n<p>To open it, you can type : pgadmin3 or (better) go to Applications-&gt; Programming-&gt;pgAdmin III<\/p>\n<p>Create local connection with pgadmin:<br \/>\n1. Click &#8216;Add a connection to a server&#8217; or File-&gt;Add Server. Then fill it<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-server.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-720\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-server.jpg\" alt=\"psql-new-server\" width=\"607\" height=\"586\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-server.jpg 607w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-server-300x290.jpg 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a>Click &#8216;OK&#8217; and if everything right, here is the result<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-localhost.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-721\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-localhost.jpg\" alt=\"psql-localhost\" width=\"762\" height=\"586\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-localhost.jpg 762w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-localhost-300x231.jpg 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/a>Create a new database. Select &#8216;Databases&#8217;-&gt;right click and click &#8216;New Database&#8230;&#8217;-&gt; On &#8216;Name&#8217; fill (for example) &#8216;testdb&#8217;<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-db.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-722\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-db-1024x593.jpg\" alt=\"psql-new-db\" width=\"840\" height=\"486\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-db-1024x593.jpg 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-db-300x174.jpg 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-db-768x445.jpg 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-new-db.jpg 1034w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>Then OK. There would be a &#8216;red cross&#8217; on the database name. It&#8217;s fine. Just click it. Here is the structure<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-structure-db.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-723\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-structure-db.jpg\" alt=\"psql-structure-db\" width=\"389\" height=\"577\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-structure-db.jpg 389w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-structure-db-202x300.jpg 202w\" sizes=\"auto, (max-width: 389px) 85vw, 389px\" \/><\/a>Create a new table. We can do it from the structure above: Select &#8216;Tables&#8217; -&gt; right click and click &#8216;New Table&#8230;&#8217; OR (better) from SQL Query<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-create-table.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-724\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-create-table.jpg\" alt=\"psql-create-table\" width=\"866\" height=\"497\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-create-table.jpg 866w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-create-table-300x172.jpg 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-create-table-768x441.jpg 768w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>Here is the result of the new tabel &#8216;playground&#8217; (DONT FORGET TO REFRESH FIRST)<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-table-playground.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-725\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-table-playground.jpg\" alt=\"psql-table-playground\" width=\"438\" height=\"515\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-table-playground.jpg 438w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/psql-table-playground-255x300.jpg 255w\" sizes=\"auto, (max-width: 438px) 85vw, 438px\" \/><\/a>For more command and samples, read <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-use-postgresql-on-ubuntu-14-04\" target=\"_blank\">How To Install and Use PostgreSQL on Ubuntu 14.04<\/a> or watch this video <iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/1wvDVBjNDys\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/li>\n<\/ol>\n<p>Install MapServer<\/p>\n<ol>\n<li>Update your ubuntu system\n<pre class=\"lang:default decode:true\">sudo apt-get update<\/pre>\n<\/li>\n<li>Install the MapServer packages and the companions\n<pre class=\"lang:default decode:true\">sudo apt-get install cgi-mapserver mapserver-bin mapserver-doc php5-mapscript python-mapscript<\/pre>\n<p>But I got this error:<\/p>\n<pre class=\"lang:default decode:true\">Some packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n php5-mapscript : Depends: phpapi-20121212\r\nE: Unable to correct problems, you have held broken packages.<\/pre>\n<p>Why??? I check my php version. its 5.6.23-1 version<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ php -v\r\nPHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1 (cli) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies\r\n    with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans<\/pre>\n<p>Here is my apache2 version.<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ apache2 -v\r\nServer version: Apache\/2.4.20 (Ubuntu)\r\nServer built:   2016-04-20T00:00:00<\/pre>\n<p>My ubuntu still use a deprecated ppa for php 5.6. From this link <a href=\"https:\/\/launchpad.net\/~ondrej\/+archive\/ubuntu\/php5-5.6\" target=\"_blank\">https:\/\/launchpad.net\/~ondrej\/+archive\/ubuntu\/php5-5.6<\/a>, its suggest me to change my ppa to the stable one. Read the explanation <a href=\"https:\/\/github.com\/oerdnj\/deb.sury.org\/wiki\/PPA-migration-to-ppa:ondrej-php\" target=\"_blank\">PPA migration to ppa:ondrej php<\/a> and from <a href=\"http:\/\/askubuntu.com\/questions\/773692\/14-04-cleanly-upgrade-to-ppaondrej-php-from-ppaondrej-php5-5-6\" target=\"_blank\">askubuntu<\/a>. <a href=\"http:\/\/myprojects.advchaweb.com\/index.php\/2016\/09\/16\/update-ppa-for-php\/\" target=\"_blank\">Read here to find out the steps to change the ppa, the problem and the solution<\/a>.<br \/>\nOkay. I tried to rety the installation<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo apt-get install cgi-mapserver mapserver-bin mapserver-doc php5-mapscript python-mapscript<\/pre>\n<p>The mapserver can be installed successfully BUT I got an error for php5-mapscript (I can&#8217;t install\u00a0php-mapscript because the package is not available).<\/p>\n<pre class=\"lang:default decode:true \">...\r\nSetting up mapserver-bin (6.4.1-2) ...\r\nSetting up mapserver-doc (6.4.1-2) ...\r\nSetting up php5-mapscript (6.4.1-2) ...\r\n\/var\/lib\/dpkg\/info\/php5-mapscript.postinst: 11: \/var\/lib\/dpkg\/info\/php5-mapscript.postinst: php5enmod: not found\r\ndpkg: error processing package php5-mapscript (--configure):\r\n subprocess installed post-installation script returned error exit status 127\r\nSetting up python-mapscript (6.4.1-2) ...\r\nSetting up proj-bin (4.8.0-2ubuntu2) ...\r\nProcessing triggers for libc-bin (2.19-0ubuntu6.9) ...\r\nErrors were encountered while processing:\r\n php5-mapscript\r\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)<\/pre>\n<p>It also caused my system broken.<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/php5-mapscript-error.jpg\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-471\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/php5-mapscript-error.jpg\" alt=\"php5-mapscript-error\" width=\"433\" height=\"456\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/php5-mapscript-error.jpg 433w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/php5-mapscript-error-285x300.jpg 285w\" sizes=\"auto, (max-width: 433px) 85vw, 433px\" \/><\/a>It seems php5-mapscript can&#8217;t be installed on my php 5.6. This article <a href=\"https:\/\/github.com\/mapserver\/mapserver\/issues\/4911\" target=\"_blank\">PHP mapscript fails to build with PHP 5.6<\/a>\u00a0dont help either. Right now I haven&#8217;t found any solution yet. I just don&#8217;t have time. Next time I&#8217;ll try to find the solution or install the different php version like php 5.5 or even php 7.0 to make mapscript work. I heard mapscript on the way to support php 7.0. Please read\u00a0<a href=\"https:\/\/github.com\/mapserver\/mapserver\/issues\/5252\" target=\"_blank\">Support for PHP 7<\/a>.<br \/>\nUPDATE! <a href=\"http:\/\/myprojects.advchaweb.com\/index.php\/2016\/09\/16\/update-ppa-for-php\/\" target=\"_blank\">I try to use php 5.5<\/a> but DIDN&#8217;T WORK EITHER FOR MAPSCRIPT!! MAY BE I NEED TO USE PHP5 FROM DEPRECATED PPA???<\/p>\n<p>I still tried to force the mapscript installation. I found something interesting about mapscript in my system.<\/p>\n<pre class=\"lang:default decode:true\">teddy@teddy-K43SJ:~$ locate mapscript\r\n\/etc\/php5\/mods-available\/mapscript.ini\r\n...\r\n\/usr\/lib\/php5\/20121212\/php_mapscript.so\r\n...<\/pre>\n<p>I found &#8216;mapscript.ini&#8217; file and &#8216;php_mapscript.so&#8217; file but it reside on different directory that php5.6 should be stored. the &#8216;.ini&#8217; file supposed to be in \/etc\/php\/5.6\/mods-available\/ and the extension\/library &#8216;.so&#8217; file supposed to be in \/usr\/lib\/php\/20131226 (found in phpinfo in &#8216;extension_dir&#8217;). I tried to copy them to the proper directory<\/p>\n<pre class=\"lang:default decode:true\">sudo cp \/etc\/php5\/mods-available\/mapscript.ini \/etc\/php\/5.6\/mods-available\/\r\nsudo cp \/usr\/lib\/php5\/20121212\/php_mapscript.so \/usr\/lib\/php\/20131226\/<\/pre>\n<p>then enable the module<\/p>\n<pre class=\"lang:default decode:true \">sudo phpenmod mapscript<\/pre>\n<p>also add it in &#8216;\/etc\/php\/5.6\/apache2\/php.ini&#8217;<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo gedit \/etc\/php\/5.6\/apache2\/php.ini<\/pre>\n<pre class=\"lang:default decode:true \">[mapscript]\r\nextension=php_mapscript.so<\/pre>\n<p>Restart apache<br \/>\nI found no error on phpinfo but found a warning on terminal<\/p>\n<pre class=\"lang:default range:2-6 decode:true\">teddy@teddy-K43SJ:~$ php -v\r\nPHP Warning:  PHP Startup: MapScript: Unable to initialize module\r\nModule compiled with module API=20121212\r\nPHP    compiled with module API=20131226\r\nThese options need to match\r\n in Unknown on line 0\r\nPHP 5.6.26-1+deb.sury.org~trusty+1 (cli) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies<\/pre>\n<p>Solution for this is to remove the mapscript in php.ini and also remove mapscript.ini<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo rm \/etc\/php\/5.6\/mods-available\/mapscript.ini<\/pre>\n<p>then restart apache. Now there is no mapscript error on the terminal<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ php -v\r\nPHP 5.6.26-1+deb.sury.org~trusty+1 (cli) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies<\/pre>\n<p>UPDATE 2017-02-14:<br \/>\nTrying to install again. There is no package with named &#8216;php5.6-mapscript&#8217;<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo apt-get install php5.6-mapscript\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nE: Unable to locate package php5.6-mapscript\r\nE: Couldn't find any package by regex 'php5.6-mapscript'<\/pre>\n<p>Trying with &#8216;php5-mapscript&#8217;<\/p>\n<pre class=\"lang:default decode:true \">teddy@teddy-K43SJ:~$ sudo apt-get install php5-mapscript\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following packages were automatically installed and are no longer required:\r\n  espeak linux-headers-3.13.0-76 linux-headers-3.19.0-25\r\n  linux-headers-4.4.0-34 python3-imaging-sane python3-pil python3-sane\r\nUse 'apt-get autoremove' to remove them.\r\nThe following NEW packages will be installed:\r\n  php5-mapscript\r\n0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.\r\nNeed to get 96,6 kB of archives.\r\nAfter this operation, 563 kB of additional disk space will be used.\r\nGet:1 http:\/\/kambing.ui.ac.id\/ubuntu\/ trusty-updates\/universe php5-mapscript amd64 6.4.1-2ubuntu0.1 [96,6 kB]\r\nFetched 96,6 kB in 0s (354 kB\/s)        \r\nSelecting previously unselected package php5-mapscript.\r\n(Reading database ... 1123978 files and directories currently installed.)\r\nPreparing to unpack ...\/php5-mapscript_6.4.1-2ubuntu0.1_amd64.deb ...\r\nUnpacking php5-mapscript (6.4.1-2ubuntu0.1) ...\r\nSetting up php5-mapscript (6.4.1-2ubuntu0.1) ...\r\n\/var\/lib\/dpkg\/info\/php5-mapscript.postinst: 11: \/var\/lib\/dpkg\/info\/php5-mapscript.postinst: php5enmod: not found\r\ndpkg: error processing package php5-mapscript (--configure):\r\n subprocess installed post-installation script returned error exit status 127\r\nErrors were encountered while processing:\r\n php5-mapscript\r\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)<\/pre>\n<p>Also there is an error in my system<a href=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1826\" src=\"http:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743-1024x576.png\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743-1024x576.png 1024w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743-300x169.png 300w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743-768x432.png 768w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743-1200x675.png 1200w, https:\/\/myprojects.advchaweb.com\/wp-content\/uploads\/2016\/09\/Screenshot-from-2017-02-14-120743.png 1366w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a>May be I need to compile it from the source like I did here: <a href=\"https:\/\/github.com\/oerdnj\/deb.sury.org\/issues\/461\">https:\/\/github.com\/oerdnj\/deb.sury.org\/issues\/461<\/a>.<\/li>\n<li>References<br \/>\nReference:\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=wabttt1tZhw\" target=\"_blank\">https:\/\/www.youtube.com\/watch?v=wabttt1tZhw<\/a> and\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=9MGbM2zMA_Y\" target=\"_blank\">https:\/\/www.youtube.com\/watch?v=9MGbM2zMA_Y<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Prerequisite: Ubuntu 14.04, Apache Webserver 2.4 and php 5.6<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35,55],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-gis","category-mapserver"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=451"}],"version-history":[{"count":23,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":1828,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/451\/revisions\/1828"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}