<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Regina,<br>
<br>
thanks for your reply. <br>
<span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></div>
<blockquote cite="mid:005801d0b43c$8949ffb0$9bddff10$@pcorp.us"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">As
I recall I thought Ubutnu / Debian did put the postgis
loader etc tools in a separate client package, </span></p>
</div>
</blockquote>
couldn't find something so far.<br>
<br>
<blockquote cite="mid:005801d0b43c$8949ffb0$9bddff10$@pcorp.us"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">but
it's been a couple of months since I tested so my memory
could be wrong. That is not to say that that package
doesn't depend on regular PostgreSQL / PostGIS though<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Since
both have some functions in common exposed by a sub library.</span></p>
</div>
</blockquote>
May be the reason to have it until now in one package, right.<br>
<blockquote cite="mid:005801d0b43c$8949ffb0$9bddff10$@pcorp.us"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p>
</o:p>On windows for this kind of situalion I copy the
loader command line and dependencies to a folder on my
webserver and have the webserver use them, not sure if
something like that would work, though having as a separate
package is more convenient.<o:p></o:p></span></p>
</div>
</blockquote>
This sounds also like a solution for the work with docker
containers. But i hat to fork the postgis image and add an
additional Service which receives helper command via tcp and execute
it after a security filter in the recipient container.<br>
<blockquote cite="mid:005801d0b43c$8949ffb0$9bddff10$@pcorp.us"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Have
you looked at something like GDAL/OGR or is that too hefty
for your needs?</span></p>
</div>
</blockquote>
Yes I used it also for other imports, but until now not over the web
applications, but in cron scripts. The idea is so far good, because
gdal is also used from mapserver in my web container. I have to see
if i add the ogr2ogr additional to my web container.<br>
<br>
Best regards<br>
Peter<br>
<br>
<blockquote cite="mid:005801d0b43c$8949ffb0$9bddff10$@pcorp.us"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hope
that helps,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Regina<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:postgis-devel-bounces@lists.osgeo.org">postgis-devel-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:postgis-devel-bounces@lists.osgeo.org">mailto:postgis-devel-bounces@lists.osgeo.org</a>] <b>On
Behalf Of </b>Peter Korduan<br>
<b>Sent:</b> Wednesday, July 01, 2015 10:27 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<b>Subject:</b> [postgis-devel] Install only loader<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Hi,<br>
<br>
I'm new to this mailing list. Apologize if my question not
fits a conceptional topic of this list.<br>
I use postgis since years for a web mapping application,
running in single linux based application environments
containing a web, map and database server.<br>
<br>
Therefore it was usefull to have the laoder installed together
with the postgis extention. User could upload shape files over
the webserver, php called shp2pgsql to load the shapes into
the database in the background and the map server provide the
new layer in its web client interface as many other
application do.<br>
<br>
Since i changed the runtime environment to separate docker
containers linked together only via services I have the
general question to postgis if it not would be a good idea to
have the loader in a separate debian package without postgis
and postgresql itself.<br>
<br>
It may be more a special question for the debian package
builder Francesco Paolo Lovergine, Stephen Frost, Markus
Wanner or Bas Couwenberg.<br>
<br>
My problem in a litle more detail.<br>
If I have one docker container with a postgis installation
e.g. mdillon/postgis. Postgis is installed with all its
dependencies. Than I have another container only with a web
mapping server. With the postgres container linked into the
web container I have access to the database over the tcp
connection, but not to the loader. I had to install the loader
within the web application container, but the package of
postgis would install all these database stuff I have allready
in the postgres container. This would be redundant wouldn't
it? Anybody know an easy way to install only the loader with a
debian or ubuntu base image in a Dockerfile? Is it of interest
or planned to support a package only with postgis loader and
helpers?<br>
<br>
Thanks in advance for any hints.<br>
<br>
Best regards Peter Korduan <br>
<br>
<br>
<o:p></o:p></p>
<pre style="margin-left:.5in">-- <o:p></o:p></pre>
<pre style="margin-left:.5in">GDI-Service Rostock<o:p></o:p></pre>
<pre style="margin-left:.5in">Dr. Peter Korduan<o:p></o:p></pre>
<pre style="margin-left:.5in">Joachim-Jungius-Str. 9<o:p></o:p></pre>
<pre style="margin-left:.5in">18059 Rostock<o:p></o:p></pre>
<pre style="margin-left:.5in">Tel: 0381 40344444<o:p></o:p></pre>
<pre style="margin-left:.5in">Mobil: 0175 5446411<o:p></o:p></pre>
<pre style="margin-left:.5in">E-Mail: <a moz-do-not-send="true" href="mailto:peter.korduan@gdi-service.de">peter.korduan@gdi-service.de</a><o:p></o:p></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
GDI-Service Rostock
Dr. Peter Korduan
Joachim-Jungius-Str. 9
18059 Rostock
Tel: 0381 40344444
Mobil: 0175 5446411
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:peter.korduan@gdi-service.de">peter.korduan@gdi-service.de</a></pre>
</body>
</html>