[Cartoweb-users] RE: using esri font

guillaume champlong goutosig at yahoo.fr
Wed Nov 28 04:10:08 EST 2007


Thanks a lot for this answer,

It's true that my question was conusing, but that's right I wanted to use the symbols of the font as true type symbols.
As for using these symbols instead of others, it's because we have a project both on ArcMap and Cartoweb and we would like to keep the same symbols as much as possible.

And finally, can we use the esri  *.style files for mapserver?

Guillaume

----- Message d'origine ----
De : karsten vennemann <karsten at terragis.net>
À : cartoweb-users at lists.maptools.org
Envoyé le : Mercredi, 28 Novembre 2007, 13h17mn 44s
Objet : [Cartoweb-users] RE: using esri font


Hi Guillaume,

First I was a little confused whether you where talking about symbols
 or
labels. After opening ArcMap and double-checking I am guessing that you
wanted to use the symbols of that font as a true type symbol?
Vector symbols (small graphics like dots, squares, hash, signs etc) are
actually *.style files in ArcMap.

Further I infer that you where talking about the ESRI Cartography font
 (this
seems to be the internal name for esri_1.ttf). I couldn't figure out
 how to
get the subset of Latin 'Latin-1 Supplement' to display in ArcMap nor
 how to
export it. Also when I looked at this font I was wondering why you
 wanted to
use this font as symbols instead of regular symbols widely available. 

Unfortunately I can't answer how to directly use a subset of that ESI
 font
directly in mapserver. It may well be that the font is in a type that
mapserver can not use. It has to be in Unicode format (compare
http://umn.mapserver.ch/MapServer/en/sym_truetype.htm)
When checking with "Character Map" under windows
 (start->Accessories->System
Tools) this font appears to be Unicode. Thus, I don't know what is
 going on
with the subset (which I couldn't locate on my machine). The website
 above
also mentions a "low cost program fontcreator which apparently may help
 to
create your own font http://www.high-logic.com/products.html )


However here are several other "no cost" options 

1. you could recreate the symbols as graphics yourself: e.g. place a
 label
with all the symbols you need from that font in ArcMap and then copy
 and
paste into your favorite graphics program. From there export to single
 jpeg
or gif file for use as symbols in mapserver.

2. you could recreate the symbols as vector symbols for mapserver in
 your
mapfile. Any of the symbols can be combined to create complex symbols.
e.g. http://umn.mapserver.ch/MapServer/en/sym_vector.htm 
Here are some samples
http://mapserver.gis.umn.edu/docs/howto/symbologyexchange_vector/?searchterm
=symbols 

# Start of symbol definition##################################
Symbol
NAME 'Star'
TYPE VECTOR
FILLED true
   POINTS
    0     0.375
    0.35  0.375
    0.5   0
    0.65  0.375
    1     0.375
    0.75  0.625
    0.875 1
    0.5   0.75
    0.125 1
    0.25  0.625
   END
END


3. I completely misunderstood your question :)

Good luck
Karsten 


-----Original Message-----
From: cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] On Behalf Of
cartoweb-users-request at lists.maptools.org
Sent: Tuesday, November 27, 2007 22:09
To: cartoweb-users at lists.maptools.org
Subject: Cartoweb-users Digest, Vol 31, Issue 31

Send Cartoweb-users mailing list submissions to
    cartoweb-users at lists.maptools.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.maptools.org/mailman/listinfo/cartoweb-users
or, via email, send a message with subject or body 'help' to
    cartoweb-users-request at lists.maptools.org

You can reach the person managing the list at
    cartoweb-users-owner at lists.maptools.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cartoweb-users digest..."


Today's Topics:

   1. using esri font (guillaume champlong)
   2. RE: Ajax call starts endless "loading" loop (karsten vennemann)


----------------------------------------------------------------------

Message: 1
Date: Wed, 28 Nov 2007 04:29:18 +0000 (GMT)
From: guillaume champlong <goutosig at yahoo.fr>
Subject: [Cartoweb-users] using esri font
To: carto web <cartoweb-users at lists.maptools.org>,    Map Server
    <mapserver-users at lists.gis.umn.edu>
Message-ID: <572391.90572.qm at web27314.mail.ukl.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi all,
I would like to use ESRI fonts for my symbols, but a matter comes with
 the
"subset". Actually in my case, in ArcMap, with the esri_1.ttf file I
 can
choose 2 subset of symbols : 'Basic Latin' or 'Latin-1 Supplement'. But
 when
I use this file in MapServer, I can only get the symbols from 'Basic
 Latin',
whereas I would like the symbols from the other subset... Is there a
 way to
fix this?

Thanks

G.











 
____________________________________________________________________________
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
 Mail

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071128/3a77
6de4/attachment-0001.html

------------------------------

Message: 2
Date: Tue, 27 Nov 2007 22:08:48 -0800
From: "karsten vennemann" <karsten at terragis.net>
Subject: RE: [Cartoweb-users] Ajax call starts endless "loading" loop
To: <cartoweb-users at lists.maptools.org>
Message-ID: <003901c83185$245809e0$6501a8c0 at snuggie>
Content-Type: text/plain; charset="us-ascii"

I based my project on demoCW3. Yes - initially the search was working
(before I did modify the tpl files a bit). Actually it is working right
 now
in Internet Explorer but not in Firefox. That is why I was wondering
 how
that could be related to the php_sqlite extension. Anyway,  I
 downloaded the
pecl php extensions for my php 5.0.5 and included
  extension=php_pdo.dll and
extension=php_pdo_sqlite.dll in php.ini (it appears that
 "php_pdo_sqlite"
this is a synonym for "php_sqlite" extension). They load fine when I
 test
with php_ini. After restarting Apache I am still getting the endless
 Ajax
call and loading message (not in Internet Explorer though where
 everything
works fine). 

Thus, I am researching (without success yet :-( ) whether there is a
different cause for this ?

 

Here is my JST race debugger messages:

(by the way I deleted some of the panning elements in my tpl file - how
 can
I get rid f the warnings below - like Warning: element pan_nw does not
exist!

e.g.)


 -------------------------------------------------------------------------

Setting Ajaxhandler's profile to development...

 

Initiating actions

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_n...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_nw...

Warning: element pan_nw does not exist!

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_w...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_sw...

Warning: element pan_sw does not exist!

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_s...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_se...

Warning: element pan_se does not exist!

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_e...

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:pan_ne...

Warning: element pan_ne does not exist!

AjaxHandler.attachAction(): Attaching action:Location.Pan to element
id:keymap...

Warning: element keymap does not exist!

 

--- Action Search.DoIt triggered ---

 

Calling Search.DoIt onBeforeAjaxCall()

 

Calling AjaxPlugins.Common.onBeforeAjaxCall()

Initiating AJAX request

Pending actions: 1

GET params:

ajaxActionRequest=Search.DoIt&

POST params:

posted=1&js_folder_idx=1&selection_type=&selection_coords=&features=&project
=ocla&fake_reset=&fake_query=&outline_label_text=Your
label&tool=zoomin&recenter_doit=0&null=&openNodes=&layers[]=counties&layers[
]=roads&layers[]=people_in_institutions_per_tract&outline_mask=no&shortcut_d
oit=0&recenter_x=&recenter_y=&id_recenter_ids=&search_name=&search_config=co
untries&search_sort_column=&search_sort_direction=asc&search_number=&search_
page=&query_alllayers=1&query_layerid[]=counties&recenter_scale=0&mapsize=0&
shortcut_id=-1&

Waiting for response...

 

The result is a endless display of the Loading.. window

Karsten

  _____  

From: Oliver Christen [mailto:oliver.christen at camptocamp.com] 
Sent: Monday, November 26, 2007 23:00
To: karsten vennemann; cartoweb-users at lists.maptools.org
Subject: Re: [Cartoweb-users] Ajax call starts endless "loading" loop

 

Hi

 

now the plugin "search" is loaded by default in the demo and if you
 used a
demo as basis for you new project, you will have that plugin loaded
 too.

that plugin requires that you load the sqlite extension in your php.ini

simply uncomment the line extension=php_sqlite.so (on linux) or
extension=php_sqlite.dll (on windows) and restart apache.

 

or you can remove the search plugin from your project's client.ini
 file, if
you dont need the search functionality

 

regards

Oliver

----- Original Message ----- 

From: karsten <mailto:karsten at terragis.net>  vennemann 

To: cartoweb-users at lists.maptools.org 

Sent: Tuesday, November 27, 2007 1:20 AM

Subject: [Cartoweb-users] Ajax call starts endless "loading" loop

 

Hi All,
I have customized the layout templates for my cartoweb 3.4 project. I
 did
run a query before I did some changes.
Every time I open the project in Firefox an Ajax call (see blow) is
 posted
and seems to start an endless loop (Loading message never disappears).
I did run
cw3setup.php --install --base-url
http://localhost:81/sites/cartoweb3/htdocs/ --profile development
 --project
ocla
cw3setup.php --clean 
- also I rebot3ed my machine (did help either).

It seems that some cache never gets cleaned - or why would
ajaxActionRequest=Search.DoIt otherwise be triggered?


In Internet Explorer all works fine (for a rare change).

 

Thanks

Karsten

 

 

--- Action Search.DoIt triggered ---

 

Calling Search.DoIt onBeforeAjaxCall()

 

Calling AjaxPlugins.Common.onBeforeAjaxCall()

Initiating AJAX request

Pending actions: 1

GET params:

ajaxActionRequest=Search.DoIt&

POST params:

posted=1&js_folder_idx=1&selection_type=&selection_coords=&features=&project
=ocla&fake_reset=&fake_query=&outline_label_text=Your
label&tool=zoomin&recenter_doit=0&null=&openNodes=&layers[]=counties&layers[
]=roads&layers[]=people_in_institutions_per_tract&outline_mask=no&shortcut_d
oit=0&recenter_x=&recenter_y=&id_recenter_ids=&search_name=&search_config=co
untries&search_sort_column=&search_sort_direction=asc&search_number=&search_
page=&query_alllayers=1&query_layerid[]=counties&recenter_scale=0&mapsize=0&
shortcut_id=-1&

Waiting for response...

 


  _____  


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071127/ee3f
4c52/attachment.html

------------------------------

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users


End of Cartoweb-users Digest, Vol 31, Issue 31
**********************************************

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users






      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071128/4f39e9f6/attachment-0001.html


More information about the Cartoweb-users mailing list