There is no tutorial for editing the source code. It's generally not for the faint of heart. The file maplexer.l is part of the MapServer source distribution so if you build the software from source then it would be right there along with the other C/C++ sources. If you're using MS4W I'm afraid you're out of luck until a new version of that package is made available with this change.
Steve >>> On 11/10/2008 at 1:29 PM, in message <[EMAIL PROTECTED]>, "Rui Gomes" <[EMAIL PROTECTED]> wrote: > Exact. By the URL. > Thanks for this tip, but i have another question: > > How i change maplexer.l? Can you tell me where i can find some tutorial? > > Thanks > > ----------------------------------------------------------------------------------------------------------------- > > What do you mean "in the html"? Do you mean your trying to set via > URL? If so it's likely > an oversight on my part and that keyword isn't being recognized when > parsing URLs. I'll > make sure that gets fixed in the source. > > In the meantime you can edit maplexer.l and change: > > <INITIAL>pixels > to > <INITIAL,URL_STRING>pixels > > and then recompile... > > Steve > >>>> "Rui Gomes" <[EMAIL PROTECTED]> 11/07/08 9:47 PM >>> > Hi... > > I have a problem: > > I put the tolerance units of a layer i the .map file using the layer > keyword: > > TOLERANCEUNITS pixels > > and work fine. But if i try to do the same in the html i recive the > following error message: > > getSymbol(): Symbol definition error. Parsing error near (pixels):(line 1) > > And this error only happen whith the tag "pixels". I use feet, meters, > kilometers and dd and all of them works fine. Why pixels don work? > > > Thanks and sorry for my English. > -- > Rui Gomes > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
