using gisgraphy in java

post relative to the use / install of gisgraphy

using gisgraphy in java

Postby gisgraphy » Tue Oct 19, 2010 7:03 pm

Hi all, I wanted to know if I could do geocoding using java on gisgraphy data.


yes simply start spring

Code: Select all
/**
     * application context files to start classpath in a non
     * web context, (note that : javax.servlet should be added in the classpath)
     * then you can start
     *
     *  new ClassPathXmlApplicationContext(Constants.APPLICATION_CONTEXT_NAMES_NON_WEB);
     */
    public final static String[] APPLICATION_CONTEXT_NAMES_NON_WEB= new String[] {

       "classpath:/applicationContext.xml",
          "classpath:/applicationContext-resources.xml",
          "classpath:/applicationContext-repository.xml",
          "classpath:/applicationContext-geoloc.xml",
          "classpath:/applicationContext-dao.xml",
          "classpath:/applicationContext-service.xml",
          "classpath:**/applicationContext*.xml" };
David
gisgraphy
Site Admin
 
Posts: 443
Joined: Mon May 12, 2008 1:09 pm

Return to user

Who is online

Users browsing this forum: No registered users and 1 guest

cron