[ka-Map-users] (no subject)

Pedro Simonetti Garcia pedrosimonetti at gmail.com
Fri Apr 18 00:11:37 EDT 2008


Are you using the default ka-Map sample application?

Check if the settings are properly defined in config.php file. Are you
pointing to the correct path to your mapfile?

There's a great tutorial in the ka-Map wiki, about setting up a ka-Map:
Step 1 - http://ka-map.ominiverdi.org/wiki/index.php/Preparing_MapServer
Step 2 - http://ka-map.ominiverdi.org/wiki/index.php/Preparing_ka-Map
Step 3 -
http://ka-map.ominiverdi.org/wiki/index.php/Testing_the_Basic_Application

For more information in pre-cache, also check:
http://ka-map.ominiverdi.org/wiki/index.php/Pre-caching_system

And a lot of other resources are located at:
http://ka-map.ominiverdi.org/wiki/index.php/Main_Page

regards,

Pedro Simonetti.

2008/4/18, seno at bakos <seno at bakosurtanal.go.id>:
>
>  Dear pedro,
>
>
>
> I already reinstall ms4w, when i try using shp2img its running well now.
> But whe I using precache i found the error message
>
> F:\ms4w\apps\kamap>f:\ms4w\Apache\cgi-bin\php.exe precache.php -f
> http://skatalog/kamap/htdocs/tile.php
>
>
>
> Status: 404
>
> X-Powered-By: PHP/4.4.3-dev
>
> Content-type: text/html
>
>
>
> No input file specified.
>
> Is that a correct command line?
>
> When I using precache2 also i got the same error.
>
> Thanks
>
> Seno
>
>
>
>
>
> *From:* Pedro Simonetti Garcia [mailto:pedrosimonetti at gmail.com]
> *Sent:* 17 April 2008 16:03
> *To:* seno at bakos
> *Subject:* Re: [ka-Map-users] (no subject)
>
>
>
> This is strange because MS4W should install all requirements for you.
>
> Check if this libmap.dll is located at:
>
> \ms4w\Apache\cgi-bin
>
> If it is not there, try installing MS4W again. I never experience this
> problem, but this appears to be related with mapserver installation. Have
> you changed the Apache configuration or something? When installed correctly
> mapserver should never complain about missing dll's.
>
> I hope this helps.
>
> regards,
>
> Pedro Simonetti.
>
> 2008/4/17, seno at bakos <seno at bakosurtanal.go.id>:
>
> Dear pedro,
>
>
>
> I got failed while test using shp2img, the application said can not start
> cause "libmap.dll" was not found.
>
> For data :
>
> In Object of MAP I define
>
>
>
> SHAPEPATH "/ms4w/apps/kamap/data/"
>
>
>
> The on the layer
>
> I define DATA "jaln/jaln8" its means jaln is a directory and jaln8 is
> shapefile come from esri shapefile
>
>
>
> When I using browser everyhing is running well and I can saw the map
> created ang tiled
>
>
>
> While trying using precache the error appear like as our discussion
>
>
>
> Thanks
>
> Seno
>
>
>
>
>
>
>
> *From:* Pedro Simonetti Garcia [mailto:pedrosimonetti at gmail.com]
> *Sent:* 17 April 2008 14:29
>
>
> *To:* seno at bakos; ka-Map-users at lists.maptools.org
> *Subject:* Re: [ka-Map-users] (no subject)
>
>
>
> You forgot to mention if the shp2img test succeeds, or fails.
>
> Failing means the problem is in the mapfile. If not, maybe in somewhere
> else.
>
> I don't know if this is a problem, but is missing the data extension at
>
>       DATA         "jaln/jaln8"
>
>
> Also, as far as I can remember, by using the IMAGETYPE, you should also
> use a OUTPUTFORMAT in your MAP object:
>
>  IMAGETYPE png
>
>
> regards,
>
> Pedro Simonetti.
>
> PS.: Please reply to the list so others can join this conversation.
>
> 2008/4/17, seno at bakos <seno at bakosurtanal.go.id>:
>
> Dear pedro,
>
>
>
> Here is the mapfile script attached.
>
> I already set path environment like as your advise before.
>
> Please help me.
>
> Thanks
>
> Seno
>
>
>
> *From:* Pedro Simonetti Garcia [mailto:pedrosimonetti at gmail.com]
> *Sent:* 17 April 2008 13:58
> *To:* seno at bakos; ka-Map-users at lists.maptools.org
>
>
> *Subject:* Re: [ka-Map-users] (no subject)
>
>
>
> Seno,
>
> You have to set the path environment variable to include Apache's cgi-bin
> directory.
>
> ms4w\Apache\cgi-bin
>
> Take a carefull look in your mapfile too. If you post your mapfile here in
> the mailing list will help find where's the problem.
>
> regards,
>
> Pedro
>
> 2008/4/17, seno at bakos <seno at bakosurtanal.go.id>:
>
> Dear Pedro,
>
>
>
> When I test using shp2img error appear
>
> Here is the error :
>
> The application has failed to start because libmap.dll not found
>
> I used Ms4w , where i can find this .dll?
>
> Thanks
>
> seno
>
>
>
> *From:* Pedro Simonetti Garcia [mailto:pedrosimonetti at gmail.com]
> *Sent:* 17 April 2008 12:36
> *To:* seno at bakos
> *Subject:* Re: [ka-Map-users] (no subject)
>
>
>
> Hi,
>
> Check the mapfile to ensure that this is not a problem in your mapfile:
>
>
> http://ka-map.ominiverdi.org/wiki/index.php/Preparing_MapServer#Testing_the_Map_File
>
> You can use the shp2img command-line tool to do this:
>
> shp2img -m global.map -o test.png
>
> It seems it is a problem in your mapfile. Or in the config.php file.
>
> I hope this helps,
>
> Pedro Simonetti.
>
> 2008/4/17, seno at bakos <seno at bakosurtanal.go.id>:
>
> Dear Experts,
>
>
>
> I have a problem while trying to generate tiles using precache.php like as
> error below :
>
> ------------------------------------------------
>
> localhost/kamap/htdocs/tile.php
>
> X-Powered-By: PHP/4.4.3-dev
>
> Content-type: text/html
>
>
>
>
>
> Map: DO
>
>   Scale: 125000
>
>     Meta tiles: 2 x 1 = 2
>
>     Tiles: 2 x 1 x 6 x 6 = 72
>
>     Group: Jalan
>
>   Scale: 100000
>
>     Meta tiles: 3 x 2 = 6
>
>     Tiles: 3 x 2 x 6 x 6 = 216
>
>     Group: Jalan
>
>   Scale: 50000
>
>     Meta tiles: 5 x 2 = 10
>
>     Tiles: 5 x 2 x 6 x 6 = 360
>
>     Group: Jalan
>
>   Scale: 25000
>
>     Meta tiles: 8 x 4 = 32
>
>     Tiles: 8 x 4 x 6 x 6 = 1152
>
>     Group: Jalan
>
>
>
> Trouble:
>
>   50 errors encountered
>
>   Report [a]ll, [l]ast, or [n]one? <br />
>
> <b>Warning</b>:  fgets(): supplied argument is not a valid stream reso
>
> >F:\ms4w\apps\kamap\htdocs\precache.php</b> on line <b>173</b><br />
>
>
>
> Could you help me,how to solved this problem.
>
> Thanks very much.
>
> Seno
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080418/a60b260a/attachment-0001.html


More information about the ka-Map-users mailing list