| 12:23:44 | zesoze: | hi I am getting this error: msProcessProjection( ): Projection library error. no options found in 'init' file |
| 12:24:16 | zesoze: | I read for this error: here is the faq: http://mapserver.org/errors.html#msprocessprojection-no-options-found-in-init-file |
| 12:24:17 | sigabrt: | Title: Errors MapServer 5.4.2 documentation ( at mapserver.org ) |
| 12:24:37 | zesoze: | and I have <900913> in my epsg file |
| 12:24:51 | FrankW: | I suspect the file isn't being found. |
| 12:24:59 | FrankW: | Where is it? |
| 12:25:25 | zesoze: | /usr/share/proj/epsg |
| 12:26:03 | FrankW: | You are using a prepackaged MapServer and PROJ? |
| 12:26:18 | zesoze: | I have compiled both |
| 12:26:42 | FrankW: | You deliberately installed in /usr/ instead of /usr/local? |
| 12:26:55 | zesoze: | yes I did it |
| 12:27:18 | zesoze: | whereis proj |
| 12:27:18 | zesoze: | proj: /usr/bin/proj /usr/local/bin/proj /usr/share/proj /usr/share/man/man1/proj.1.gz /usr/share/man/man3/proj.3.gz |
| 12:28:02 | FrankW: | At the commandline could you do: |
| 12:28:09 | FrankW: | export PROJ_DEBUG=ON |
| 12:28:16 | FrankW: | cs2cs +init=epsg:900913 |
| 12:28:32 | FrankW: | It should print out a debug message with regard to it's search for the epsg init file. |
| 12:28:34 | FrankW: | Something like: |
| 12:28:40 | FrankW: | pj_open_lib( epsg ): call fopen( /wrk/home/warmerda/bld/share/proj/epsg ) - succeeded |
| 12:29:36 | zesoze: | yes it is searching for epsg file in pj_open_lib( epsg ): call fopen( /usr/local/share/proj/epsg ) - succeeded |
| 12:29:54 | FrankW: | Did it say anything like: |
| 12:29:55 | FrankW: | projection initialization failure |
| 12:29:55 | FrankW: | cause: no options found in 'init' file |
| 12:29:56 | zesoze: | but I included the new proj in /usr/share/proj |
| 12:29:56 | FrankW: | ? |
| 12:30:18 | zesoze: | let me try change the file |
| 12:30:22 | FrankW: | Ah, I see it was looking in /usr/local. |
| 12:30:25 | FrankW: | Well that's the problem. |
| 12:30:42 | FrankW: | Possibly you aren't running the copy of proj you think, or you built it funny or something. |
| 12:30:43 | zesoze: | yes do you think that a symb link can resolve it? |
| 12:30:53 | FrankW: | it could, yes. |
| 12:31:03 | zesoze: | ok I will do it |
| 12:31:07 | zesoze: | thx FrankW |
| 12:31:16 | FrankW: | have fun |
| 12:31:57 | ue: | zesoze, I am not sure about this, but I think mapscript caches the proj file and you need to restart apache |
| 12:32:17 | zesoze: | hum I will do it too... |
| 12:32:19 | zesoze: | thx ue |
| 12:32:39 | FrankW: | That is also true in the dso php mapscript is being used, and with the latest release of proj ( which does the caching ) |
| 12:32:47 | FrankW: | Also true of fastcgi mapserver. |
| 12:33:15 | zesoze: | oh perfect...it works... |
| 12:34:22 | ue: | zesoze, funny thing that you specified in #openlayers that you use mapscript and did not say it here : ) |
| 12:35:07 | zesoze: | now my non base layers are displaying in right place on map, before that layers only appears in right place when a zoomed to it |
| 12:35:21 | zesoze: | hehehehe are you in #openlayers too? |
| 12:35:38 | ue: | y |
| 12:36:00 | zesoze: | yes and I resolve my problem here |
| 18:26:55 | zesoze: | How can I generate a shapefile ? |
| 18:27:30 | zesoze: | with GetMap or a similar thing |
| 20:51:46 | : | * nerdboy gets the harpoon ready for next time |