[mapserver-users] GRID or not to GRID (USNG question)

Bob Basques Bob.Basques at ci.stpaul.mn.us
Thu Sep 18 14:03:54 EDT 2008


Brent,
 
I figured out the publishing problem (my error) for the Web Interface.  This link should work now:
 
http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/usng_1st_public.xml 
 
It will give you a better idea of the labeling problems at different scales of view that I'm running into.
 
We actually did some code change in MapServer to get to the point of even coming close to the USNG formats, but it still comes up short.
 
Thanks
 
bobb
 


>>> Brent Fraser <bfraser at geoanalytic.com> wrote:
Bob,

  I seem to remember experimenting with different LABEL -> POSITION settings in the GRID layer.  I'll try to find my map file.

Brent

Bob Basques wrote:
> Brent,
>  
> Sorry about that, I really need to get a test box for outside posting of 
> things.  :c)
>  
> Here is a screenshot about what I'm talking about:
>  
>  
> Basically I want to align the labels along the edges.  I've tried a few 
> different things to fake it with some positive results, But nothing that 
> I can implement as a production piece because it needs some sort of 
> manual intervention in the final process.
>  
> The entities are predefined lines as a SHP file that I'm labeling. Now 
> using the MapServer Grid Object I got this far:
>  
>  
> But even this is not getting me to the final destination.  There's not 
> much control on numbering and the process is fairly slow compared to 
> just labeling the lines.
>  
> Any ideas?
>  
> bobb
>  
> 
> 
>> >> Brent Fraser <bfraser at geoanalytic.com> wrote:
> Bob,
> 
>   I get a Username/Password request dialog from the URL...
> 
> Brent Fraser
> 
> Bob Basques wrote:
>>  All,
>> 
>>  in the following interface:
>> 
>> 
> http://gis.ci.stpaul.mn.us/gis/gismo_public/html/?mapbook=/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/usng_1st.xml 
>> 
>>  The last two layers in the "US National Grid Layers" folder show a layer
>>  with lines Easting and Northing, that I want to label.  They label just
>>  fine, but I would like to align them along an edge of the view
>>  automatically, the ideal situation would be to have two labels on each 
>>  end of the lines along the edges of the view.
>> 
>>  We've tried using the GRID object, even going so modifying the source
>>  for GRID, you can see an example in the third to last layer above, "USNG
>>  via MapServer GRID" (Wait for it, it's kinda slow right now)  And just
>>  can't seem to get the output in any sort of usable result for printing.
>> 
>>  Question, anyone got any ideas about how to align those labels along the
>>  edges?
>> 
>>  Thanks
>> 
>>  bobb
>> 
>> 
>>
>>
>>  ------------------------------------------------------------------------
>>
>>  _______________________________________________
>>  mapserver-users mailing list
>>  mapserver-users at lists.osgeo.org 
>>  http://lists.osgeo.org/mailman/listinfo/mapserver-users 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080918/7973bc8e/attachment.html


More information about the mapserver-users mailing list